Книга: Fedora™ Unleashed, 2008 edition
Using Man Pages
Разделы на этой странице:
Using Man Pages
To learn more about a command or program, use the man
command, followed by the name of the command. Man pages for Linux and X Window commands are within the /usr/share/man
, /usr/local/share/man
, and /usr/X11R6/man
directories. So, for example, to read the rm
command's man page, use the man
command like this:
$ man rm
After you press Enter, the less
command (a Linux command known as a pager) displays the man page. The less command is a text browser you can use to scroll forward and backward (even sideways) through the document to learn more about the command. Type the letter h
to get help, use the forward slash to enter a search string, or press q
to quit.
NOTE
Although nearly all the hundreds of GNU commands included with Linux each have a man page, you must use the info
command to read detailed information about using a GNU command. For example, to learn even more about bash
(which has a rather extensive manual page), use the info
command like this:
$ info bash
Press the n and p keys to navigate through the document, or scroll down to a menu item on the screen and press Enter to read about a specific feature. Press q
to quit reading.
Related Fedora and Linux Commands
The following programs and built-in shell commands are commonly used when working at the command line. These commands are organized by category to help you under stand the command's purpose. If you need to find full information for using the command, you can find that information under the command's man page.
? Managing users and groups — chage
, chfn
, chsh
, edquota
, gpasswd
, groupadd
, groupdel
, groupmod
, groups
, mkpasswd
, newgrp
, newusers
, passwd
, umask
, useradd
, userdel
, usermod
? Managing files and file systems — cat
, cd
, chattr
, chmod, chown, compress, cp, dd, fdisk, find, gzip, ln, mkdir, mksfs, mount
, mv
, rm
, rmdir
, rpm
, sort
, swapon
, swapoff
, tar
, touch
, umount
, uncompress
, uniq
, unzip
, zip
? Managing running programs — bg
, fg
, kill
, killall
, nice
, ps, pstree
, renice
, top
, watch
? Getting information — apropos
, cal
, cat
, cmp
, date
, diff
, df
, dir
, dmesg
, du
, env
, file
, free
, grep
, head
, info
, last
, less
, locate
, ls
, lsattr
, man
, more
, pinfo
, ps, pwd
, stat
, strings
, tac
, tail
, top
, uname
, uptime
, vdir
, vmstat
, w
, wc
, whatis
, whereis
, which
, who
, whoami
? Console text editors — ed
, jed
, joe
, mcedit
, nano
, red
, sed
, vim
? Console Internet and network commands — bing
, elm
, ftp
, host
, hostname
, ifconfig
, links
, lynx
, mail
, mutt
, ncftp
, netconfig
, netstat
, pine
, ping
, pump
, rdate
, route
, scp
, sftp
, ssh
, tcpdump
, traceroute
, whois
, wire-test
- Reading Manual Pages with man
- Build Configuration Management
- OS Design Property Pages
- 5.4 Reading Manpages in Emacs
- Appendix A. Detailed explanations of special commands
- Caveats using NAT
- Using Double Quotes to Resolve Variables in Strings with Embedded Spaces
- Mangle table
- Basics of the iptables command
- Commands
- Creating CDs from the Command Line
- Data Binding Using the GridView Control