This week I want to share a simple tip that will only take a moment – and essentially no syntax to memorize! I’d like to tell you about Unix’ Man Pages, or rather, the manual built into the OS. You can gain insight into how to use various commands, their purpose, options when running them, and really how to build your commands in the CLI.
In order to use the man pages, just preface the command you wish to find out more about, with ‘man‘. So maybe you want to get a better feel for the options available to you when running a ls command for listing items. Simply type, man ls. When you’re done reading the manual, just type a ‘q‘ for quit and you’ll be returned to the command line and ready for action.
And don’t be shy to see where man will work – man man tells you about the manual for instance! This will hopefully be one of those little tips (clearly for the new to Unix user) that you take away and can really build your knowledge from experimentation. Go forth and learn!