Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the necessary commands for beginners in Linux?

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report