In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what are the commonly used and interesting commands in Linux, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
1. Instruction to display date: date
There is no need to explain more about date.
% Y represents year
% m represents month
% d represents day
When% H is represented
Such as this, when we have time to proofread the time, we will use the ntp service, forgotten friends can review, for ntp as long as remember how to proofread the command on it.
two。 Commands to display calendars:
The strange command of displaying logs may only be used by foreigners. Anyway, I only look at mobile phones.
3. Important hotkeys [Tab], [ctrl]-c, [ctrl]-d
[Tab] Button-"Command completion"
[ctrl]-c button-make the current program "stop"
[ctrl]-d button-usually stops the command, which is equivalent to exit
4. Use init to switch the execution level below RHEL6.
There are seven levels of execution in Linux, and these are the only ones that are often used.
-- run level 0: shutdown
-- run level 3: plain text mode
-- run level 5: includes graphical interface mode
-- run level 6: restart
As mentioned last time, the startup level in RHEL7 has changed, and forgotten children's shoes are reviewed:
As follows:
Set the default third startup level
[root@xuegod60 ~] # systemctl set-default multi-user.target
Removed symlink/etc/systemd/system/default.target.
Created symlink from/etc/systemd/system/default.target to/usr/lib/systemd/system/multi-user.target.
Set the default fifth startup level
[root@xuegod60 ~] # systemctl set-default graphical.target
Removed symlink/etc/systemd/system/default.target.
Created symlink from/etc/systemd/system/default.target to / usr/lib/systemd/system/graphical.target.
View the current default startup level
[root@xuegod60 ~] # systemctl get-default
Graphical.target
On the Linux commonly used and interesting commands are shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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: 257
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.