What are the necessary commands for beginners in Linux?
What are the necessary commands for beginners in Linux? I believe many inexperienced people don't know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Several necessary commands for beginners in Linux
1) man
In using Linux, the first command you are sure to use is man, which is a view help command
Its main buttons are
The spacebar turns down one page
Page down turn down one page
Page up turns up one page
Home returns to the home page
End goes to the back page.
"/" search keywords from top to bottom
"?" Search for keywords from the bottom up
"n" locates to the next search keyword
"N" locates to the last keyword searched.
"Q" exits the help document
2) echo
Output variable or extracted value at the terminal. Format: echo [string] [$variable]
3) date
Display and set system date
% t jump box
% H hours (24 hours)
% I hours (12 hours)
% M minutes
% s seconds
% j the day in the middle of the year
% Y year
% m month
% d days
4) reboot
Rebooting the system generally requires a root administrator to perform
5) poweroff
Shutting down the system generally requires a root administrator to execute
6) wget
Download command
-b backend download
-p download to the specified directory
-t maximum number of downloads
-s breakpoint continuation
-P download all
-r recursive download
7) ps
View system process
-a shows all processes
-u users and other details
-x shows the process without controlling the terminal
8) top
Dynamically monitor process activity and system load
9) pidof
Query the pid of a service
10) kill
Terminates a process with a specified pid
11) killall
Terminate all processes corresponding to a service with a specified name
After reading the above, have you mastered the necessary commands of several beginners in Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!