2019.7.22 vi editor using the Linux common commands

 Use vi editor: W / rot / newfile (overwrite save the file specified)

q: Snow contents of the file has been modified but did not hold, anti-using "q" command will not quit successfully, then the need to use force to exit the command "q!"

 Save and Exit: WQ 

Modify and add configuration items

TPADDR : Set the IP address of the network interface

NETMASK: Set the subnet mask of the network interface

static : manual configuration

Three operating modes: command mode input mode last line mode

————————————————————————————————————————————————————————

Linux common commands succinctly, common directory and file management commands

ls du mkdir command and touch and find cp rm mv which command

Linux command : for implementing a class of instructions or programs can co

Execution of the command interpreter program relies

Linux command classification :

Internal Command: part belonging to the shell interpreter

External commands: independent shell interpreter program

logou: exit

ls: List (List) to display directory content

Dark blue represents the directory white for general executable files in green yellow red indicates that the device file archive     

ls -a: displays information about all subdirectories and files, including the names dot (point). "" beginning to hide hidden files and directories 

 

Guess you like

Origin www.cnblogs.com/otherwise/p/11228870.html