Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 45 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
45
Dung lượng
271 KB
Nội dung
The Saigon CTT Administration Utilities The Saigon CTT Objectives Describe, use man pages and other information Demonstrate how to communicate with users Identify system defaults Demonstrate how to find files The Saigon CTT man Pages and the man Command You can get information about most commands using man This online help system contains the following information about each command: Command name Synopsis and description List and definition of all options Environment and parameters Related commands are listed at the end of the man page The number in parentheses after a command is the section of the manual pages The Saigon CTT Example $ man passwd PASSWD(1) User utilities PASSWD(1) NAME … SYNOPSIS … DESCRIPTION … OPERANDS … EXAMPLE … SEE ALSO finger(1), login(1), nispasswd(1), crypt(3C), passwd(5) The Saigon CTT Table 2.1 : man page sections and their descriptions The Saigon CTT man Pages and the man Command To view a particular section of the man pages, include the section number with the man command and the term you are looking for: man The Saigon CTT Scrolling in Man Pages • Spacebar • Return Move forward one screen •b •f Move back one screen •q • /string Quit the man command •n •h Find the next occurrence of string Move forward one line Move forward one screen Find forward Help more The Saigon CTT Searching Man Pages by Keyword • If you are not sure of the command name, use the man command with -k option man -k keyword • Example : $ man -k insert insque (3) – insert/remove an item from queue remque [insque] (3) - insert/remove an item from queue wrjpgcom (1) – insert text coments into JPG file The Saigon CTT Which command use to remove user ? $ man -k delete … groupdel (8) - Delete a group … rmdir (2) - delete a directory … userdel (8) – Delete a user account and related files The Saigon CTT Which command use to modify user ? • $ man -k modify ar (1)- creat, modify and extract from archive setpnp (8)- modify Plug and Play BIOS device resources usermod (8)- Modify user account ... command is the section of the manual pages The Saigon CTT Example $ man passwd PASSWD(1) User utilities PASSWD(1) NAME … SYNOPSIS … DESCRIPTION … OPERANDS … EXAMPLE … SEE ALSO finger(1), login(1),