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 tar
syntax 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]. π