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...

Leave a Reply

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

Notify of
Sort by:   newest | oldest
hunter86_bg
Member

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

wpDiscuz

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create an EXT4 file system mounted under /vol based on a logical volume of 100MB.
Reduce the size to 60MB.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria and back up the database with mysqldump.

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 ...

Recent Comments