Logo Your Web Hosting Solution
Line
Linux Guide
Introduction
Connecting
File Related
Directories
Change Password
More Help
Tutorials Index
Home Page
Linux Tutorial - Getting More Help

The very handy man command shows us how to use the Linux commands and which options are available.

1. Using man

Simply type man followed by the command you wish to view usage instructions for, and press enter.

machine:~$man command

Replace command with the command of your choice.

Say we forgot how to use the whoami command or wish to view documentation on usage and options...

machine1:~/test$ man whoami

NAME
    whoami - print effective userid

SYNOPSIS
    whoami [OPTION]...

DESCRIPTION
    Print the user name associated with the current effective
    user id. Same as id -un.

    --help display this help and exit

    --version
    output version information and exit
...

This provides information on the whoami command, with version and copyright info (not shown here).

Available information is shown a page at a time. To continue to the next page, press space. To advance only one line, press enter. When done, press q.

Top Of Page 
Line
Copyright© 1996 - 2024 Clockwatchers, Inc.