• 62 Posts
  • 487 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle






  • 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 [email protected]. 😄