Linux based learning Linux command the next day ---

Understand the classification and definition of the operating system after entering learn the basic use of Linux command! !

  • aims

Understanding the causes of learning Linux terminal commands

Common Linux command experience

  • Reason for learning Linux terminal commands
  1. And not just Linux graphical interface when available, all operations thanks to the completion of the command, such as  disk operations , file access , directory operations , process management , file permissions  settings, etc.
  2. In the workplace, a large number of  server maintenance  are in  remote  through  SSH client  to complete, and no graphical interface, all maintenance work needed to be done through the command
  3. In the workplace, as a back-end programmer must be more or less have some common Linux terminal commands
  4. Linux distribution Command probably more than 200, but only just over 10 frequently used commands

Study skills Terminal command:

  • It does not require rote, for commonly used commands, with more naturally to remember
  • Do not try to learn all the commands, some commands are not very common, encountered temporary, temporary Baidu can

Commonly used Linux terminal command basic use:

Common terminal command
No. command English correspondence effect
01 ls list View the contents of the current folder
02 pwd print wrok directory View the current working directory
03 cd [directory name] change directory Switching the working directory
04 touch [filename] touch Create a file
05 mkdir [directory name] make directory Create a directory
06 rm [filename] remove Delete the specified file or directory
07 clear clear Clear screen

 

Common commands operating experience (using Ubuntu experience)

Tips

  • ctrl + +  Amplifying terminal window font
  • ctrl + - Narrowing of the terminal window font
  • Press  /  cursor key can be used to switch between commands back and forth once
  • If you want to opt-out, and do not want to execute the currently selected command, you can press ctrl + c

Autocomplete

  • In the knock-out  文件/ 目录/ 命令 after the first few letters, press  tab the key
  • If the input is not ambiguous, the system will auto-complete
  • If there are other  文件/ / 目录, 命令then click the  tab command button, the system will prompt may exist

Linux terminal command format

aims

  • Learn the terminal command format
  • He knows how to review Terminal Command Help

Terminal Command Format

command [-options] parameter

Description:

  • command: Command name, abbreviated English word or words corresponding function
  • [-options]: The option can be used to control the command can be omitted
  • parameter: The parameters passed to the command, and may be  zero , one  or  more
  • [] On behalf of Options

Check command help

prompt

  • At this stage only you need to  know that  you can query the information in two ways to help
  • First learn common commands and common option is to use the can, if you have problems at work can make use of  search

1 command --help

Description: Displays command help command

2 man command

Description: man is  manual  abbreviated, is a Linux provides a  manual that contains most of the commands, functions detailed instructions

 

 

 

 

 

 

发布了3 篇原创文章 · 获赞 1 · 访问量 37

Guess you like

Origin blog.csdn.net/qq_38975852/article/details/103946632