SYS: Locate, read, and use system documentation including man, info, and files in /usr/share/doc.

Share this link

To get information about a command (here ps), type:

# man ps

Sometimes several man pages exist for a command, to know them, type:

# whatis ps
ps (1) - report a snapshot of the current processes
ps (1p) - report process status

If you are not sure about the command name and want to search for a string (here ps), type:

# apropos ps
capsh (1) - capability shell wrapper
...
getpt (3) - open the pseudo-terminal master (PTM)

To update the whatis database, type:

# makewhatis

Alternatively, some commands (here ipc) have additional documentation that you can get by typing:

# info ipc

To get the list of these commands, type:

# ls /usr/share/info

Finally, most packages come with their own documentation in the /usr/share/doc directory.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
2 comments on “SYS: Locate, read, and use system documentation including man, info, and files in /usr/share/doc.
  1. hunter86_bg says:

    In RHEL7 and CentOs7 “makewhatis” is replaced by “mandb”.Can be useful for the RHCSA exam.

Leave a Reply

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Configure a cron task to write the uptime at 2PM every day.

RHCE7: Task of the day

Allowed time: 5 minutes.
Set up time synchronization with default configuration.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...