CLI – man

One of the most fundamental, yet useful commands that the user can enter via CLI is ‘man’. The ‘man’ command calls up the manual page for the designated command. Unix/Linux OS X systems are loaded in most cases with a set of ‘manual pages’ for the various commands that the respective systems support.

CLI - man

So for instance if I go to the Terminal on my Mac (Go >> Utilities >> Terminal) and type in ‘man man’, I will get the manual page for the man command. To leave the man page display, just enter ‘q’.

CLI - man-1

This provides a quick way to find out what a command does, verify
the syntax to use and see what options are available.


See my other CLI articles


 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.