Knowledge of Linux commands, help, basic file operations, backup commands,vi editor usage
1. Understanding Linux commands
1)thelinux command is complete with a class of functions, options complete specifically.
2) command ----Shell(command interpreter)----- Kernel (kernel) This is the command execution process;
Depending on whether the command is part of the Shell , the command is divided into internal commands and external commands , which are part of the shell and external commands are provided by the installation software.
3) General format of the command: command [ options ] [ parameters ]
"- Options", short format; "-- Options", long format, multiple short formats can be merged.
[]: indicates optional;{a|b|c}: indicates multiple selection
commands in Linux are strictly case-sensitive;
4) Common shortcut keys:
ctrl+c--> Cancel Abort command
ctrl+l--> Clear Screen
ctrl+a--> cursor moves to the beginning of the line
ctrl+e--> cursor moves to end of line
Ctrl+f--> move forward
Ctrl+b--> Move Backwards
Alt+.--> references the last parameter of the previous command
Tab--> , a tab -completion command or parameter, two tab -Displays all commands that begin with a letter
2. Help
1) Help for internal commands:
Help CD # # shows the cd commands
2) Help options for external commands:-h/--help
LS--help # # show ls command simple help
Useradd--help # # show Help for Useradd commands
3) Manual of the command: Man
A.man type of area:
1--> User Commands
format Help for 5--> configuration files
8--> Help for administrator management tools
Man Man # #man1 show Help for user command man
Man 5 vsftpd.conf # #man5 means view vsftpd 's profile help
Man 8 IP # #man8 view Help for Administrative Tools IP commands
the basic structure of B.man
Sections ( area )
Name(first name)
Synopsis(Syntax of the command)
Description(Description explanation command)
Option(options)
EXAMPLE ( used case, used )
Author ( author )
See also(Other related help)
Users often follow:name,synopsis,option,example
Man Route-->/example ( search )-->n ( view next ) - Find related configuration Case resolution forget Route command to configure routing.
C. tips for use:
Ctrl+f-- Turn one page forward
Ctrl+b-- Turn back one page
Q--> Exit
/ keyword -to-find, use the n key to find the next,n Find the previous
Man-k Command # # to find similar commands
4) software document(document):/usr/share/doc/
Linux help, File basic operations, backup commands, VI Editor