this post was submitted on 30 Sep 2024
111 points (94.4% liked)

196

16303 readers
2025 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 

! A screenshot of a Linux terminal showing some packages being installed. One of the package is named "fribidi". This name rhymes with something that evokes visceral horrors beyond comprehension.
An image of a Vietnam war soldier having flashbacks is superimposed !<

you are viewing a single comment's thread
view the rest of the comments
[โ€“] original_reader@lemm.ee 25 points 5 days ago (10 children)

Somewhat OT, but some commands can be annoyingly inconsistent and/or confusing as well. Examples:

cp requires the -r flag to copy directories recursively, while mv does not need any additional flags.

find searches for files in real-time based on various criteria, while locate uses a pre-built database to find files quickly. I know they have separate use cases, but for beginners...

The zip syntax is straightforward for both archiving and compressing. For example,ย zip archive.zip file1 file2. The tarsyntax on the other hand is confusing, especially when adding compression. I mean, look at this bad boy: tar -czvf archive.tar.gz file1 file2.

Wonder if I should post this under !unpopularopinion@lemmy.world. ๐Ÿ˜„

[โ€“] pmk@lemmy.sdf.org 15 points 5 days ago (2 children)

I learned the proper meaning of tar flags a long time ago, but then I accidentally saw a post somewhere describing "czf" and "xzf" as acronyms in german accent: "Create Ze File!" and "Xtract Ze File!" and now everytime I use tar in the simpler ways I hear in my head a german voice shouting these words as I type the flags.

[โ€“] svcg@lemmy.blahaj.zone 1 points 2 days ago

Tlist Ze File!

load more comments (1 replies)
load more comments (8 replies)