1377
Ctrl+Alt+T (lemmy.world)
submitted 11 months ago by yesman@lemmy.world to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Limeey@lemmy.world 157 points 11 months ago

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

[-] andrew@lemmy.stuart.fun 125 points 11 months ago

A GUI makes simple things simple.

A shell makes hard things possible.

[-] lightnsfw@reddthat.com 52 points 11 months ago

Me fucking with hard drives/partitions : GUI please

Me doing pretty much anything else - Terminal

[-] 0x4E4F@sh.itjust.works 27 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 😂.

[-] joel_feila@lemmy.world 11 points 11 months ago

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

[-] lightnsfw@reddthat.com 7 points 11 months ago* (last edited 11 months ago)

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.

[-] Astaroth@lemm.ee 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.

[-] thehatfox@lemmy.world 4 points 11 months ago

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?

[-] lightnsfw@reddthat.com 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.

[-] aard@kyu.de 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.

[-] avidamoeba@lemmy.ca 3 points 11 months ago

A CLI makes simple things easy to implement.

[-] 0x4E4F@sh.itjust.works 6 points 11 months ago
[-] Crack0n7uesday@lemmy.world 5 points 11 months ago

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

[-] ElderWendigo@sh.itjust.works 6 points 11 months ago

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?

[-] Tlaloc_Temporal@lemmy.ca 1 points 11 months ago

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

[-] rambaroo@lemmy.world 4 points 11 months ago

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

[-] aard@kyu.de 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.

this post was submitted on 10 Dec 2023
1377 points (100.0% liked)

linuxmemes

21234 readers
22 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS