this post was submitted on 10 Dec 2023
1367 points (98.2% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 158 points 11 months ago (39 children)

A gui is helpful sometimes, but there’s a lot of cases where there’s no feasible way to make a good gui that does what the terminal can do.

Right tools for the right job.

For example, a gui to move a file from one folder to another is nice - drag and drop.

A gui that finds all files in a directory with a max depth of 2 but excludes logs and runs grep and on matching files extracts the second field of every line in the file? Please just let me write a one liner in bash

[–] [email protected] 127 points 11 months ago (2 children)

A GUI makes simple things simple.

A shell makes hard things possible.

[–] [email protected] 55 points 11 months ago (3 children)

Me fucking with hard drives/partitions : GUI please

Me doing pretty much anything else - Terminal

[–] [email protected] 29 points 11 months ago

I always install gparted in the live environment 😂... cuz... yeah, I can fuck things up and end up without my data 😂.

[–] [email protected] 11 points 11 months ago (3 children)

Really you never organoze gigs of photos? That a gui task

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 children)

Not much of a picture guy personally but I see your point.

Edit: I have spent a decent amount of time organizing books and comic books and that was a pretty even split between GUI and Terminal. GUI to get them in a state that I could bulk rename/move into appropriate directory with the Terminal. I assume it would be similar with pictures.

[–] [email protected] 4 points 11 months ago

I spent last winter ripping all my DVDs, and I did a lot of the organizing, changing file names etc. in the terminal. Because I could automate the process even a little.

When doing TV shows, I could take the names of episodes from an online database, put those in a text file, use block edit mode and macros in Vim to format them the way I want, then use a bash command to iterate over the lines in a file and rename them all. Hell I'd probably still be at it if I had to rename that many files manually, even using copy/paste.

[–] [email protected] 3 points 11 months ago

I have a GUI file manager that I never use but I got it because I know at some point I'm going to want to be able to see thumbnails of images.

[–] [email protected] 2 points 11 months ago (2 children)

I see a lot of people saying they have to use a GUI tool for partition management, and I’ve never understood why.

Text based tools like parted are fairly easy to use, at least compared to other terminal tools the same people are able to use for other tasks.

What is it about partitioning that needs a GUI when other tasks don’t? Is it the visual representation of the partition layout? A general fear of borking a disk?

[–] [email protected] 15 points 11 months ago

Is it the visual representation of the partition layout? A general fear of borking a disk?

Yes

Being able to see it helps a lot. I can and have done it via parted. My media server doesn't have a desktop environment installed. I just really would rather have a GUI when it's available as an added safeguard.

[–] [email protected] 7 points 11 months ago

Problem nowadays is that changing partition tables is so rare that parted changes their commands between uses, and I never remember if fdisk nowadays has all the GPT related issues that made me try parted in the first place ironed out. Plus I can't remeber the new GPT commands and partition IDs.

I still mostly just read the help text every time because nothing else is installed - but from the speed I might be a bit faster with a well designed GUI nowadays if it is about modifying GPT disks. MBR disks I still can do with fdisk in my sleep.

[–] [email protected] 3 points 11 months ago

A CLI makes simple things easy to implement.

[–] [email protected] 5 points 11 months ago
[–] [email protected] 5 points 11 months ago (2 children)

I don't think I've ever used grep outside of a CLI.

[–] [email protected] 6 points 11 months ago (1 children)

Surely you've used something roughly equivalent like searching a text, be it web page or other document, for a word or filtering a spreadsheet?

[–] [email protected] 0 points 11 months ago (1 children)

How would one use grep for a webpage in a browser? Does the page need to be accessed outside the browser?

[–] [email protected] 3 points 11 months ago

You should be able to use curl to get the HTML and then pipe it to grep.

[–] [email protected] 3 points 11 months ago

Emacs grep lets you run grep, and formats the results in a buffer from where you can then easily visit the files at the match location.

load more comments (36 replies)