Linux has a complex system, there are a lot of commands, development colleagues in the daily development, unlike operations colleagues need to skillfully use a lot of commands.
Below is a list of the basic commands I used in my work:
Log view
For development colleagues, the most common tasks in Linux are log viewing.
1 log down to local, and then use notepad++ to view.
2 Use the VIM command.
For Mode 1, I believe a lot of people are doing this, and this is the simplest and most effective.
The use of Vim in Mode 2 makes a lot of people cringe, but, in general, we just need to find it based on some keywords, navigate to the log line, and look at the context output.
: line number jumps to the specified line CTRL + G to see how many rows display the line number, the file name, the line number of the last line in the file, the row number of the cursor as a percentage of the total number/text find, press N to find the next, press N to find the previous? Test reverse lookup, press N to find the previous GR EP ' Xxx.logset number/set nonumberset ignorecase/set noignorecaseset hlsearch/set nohlsearch
Two file upload download
Sz/rz
Three SSH commands, su command
Developers need to know the basic Linux practical operation