Handy CLI Switches
- 0
- Add a Comment
- No Related Post
The SysAdmin to SysAdmin column over at Linux.com has a quick reminder of handy switches (or flags) to common command line utilities that could make users’ lives a lot easier. Don’t let the column title fool you — these could be handy tips for any Linux user.
I already use the second tip for the tar command all the time, as I’ve run into the same problem he mentions more than once in the past. I quickly got tired of it and surveyed the man page to find the -t option he mentions.
I’d like to add that the same problem can occur with the unzip command. Fortunately, the solution is nearly the same: use the -l switch to receive a list of the contents of the zip file, including directories. There is a -t switch for unzip, but it works differently.
