Linux Basics
1.Linux command
command [options] [arguments]
The brackets are optional, that is, some commands do not require options and do not require parameter options or parameters (arguments)
Options are switches that adjust the execution behavior of a command, and different options determine the result of the command being displayed differently.
A parameter is an object that the command acts on.
2. Man command
Man is Manul's abbreviation help document
3.cheat command
The Cheat command is an interactive cheat sheet application that is distributed to Linux command line users under the GNU General Public License.
It provides a display of Linux command use cases, including all of the options and short but understandable features of the command.
4. Other Core commands
Find where a file is located in the system, locate is the quick version of Find
grep can retrieve full-text files, support regular expressions,
Whereis,which tells you where the command tool is installed.
Fundamentals of C language programming under Linux
Vim is a text editor
The uppercase "K" can be used to find help for the function:
View man page, command mode, put the cursor on the function name, press "K" can directly see man page.
Several settings:
: Set NU Displays line number
: Set AI automatically indents rows
: Set ts=4 sets a TAB key equal to several spaces
To move the cursor:
[[Go to Previous ' {' in first column]
]] to go to the next "{" In the first column
{Go to previous empty row
} go to the next empty line
GD goes to the definition of the local variable referred to by the current cursor
20135234 Ma Qiyang-—— Information Security System Design Foundation second week study summary