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

Linux CentOS7 Cloud Computing Advanced Operation and maintenance Phase 1 2

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Basic command operation

Terminal:

View the current virtual terminal: tty

Switch console terminal: ctrl+alt+F1~F6

Enlarge font: ctrl shift +

Reduced font: ctrl-

Open a terminal: ctrl shift n:

Timing shutdown: shutdown-h time

Shutdown after n minutes: shutdown + time

Cancel shutdown: shutdown-c

Shell:

Distinguish between internal and external commands: type command

Switch to XXX user: su-XXX

View all shell types: cat / etc/shells

Alias:

Local temporary alias: alias vimens33='vim / etc/sysconfig/network-scripts/ifcfg-ens33'

Local permanent alias: vim / root/.bashrc,alias vimens33='vim / etc/sysconfig/network-scripts/ifcfg-ens33',source / root/.bashrc

Global permanent alias: vim / etc/bashrc,alias vimens33='vim / etc/sysconfig/network-scripts/ifcfg-ens33'

System time:

Test the time it takes for a command to run: the time command, the actual time used by real, the time used by user user state, the time used by sys kernel state

Help:

View help information for commands: man command, command-- help

Like 1

-

Copyright notice: this article is the original article of CSDN blogger Margai Cloud, in accordance with the CC 4.0BY-SA copyright Agreement. Please attach the original source link and this statement for reprint.

Original link: https://blog.csdn.net/maergaiyun/article/details/103943351

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

Wechat

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

12
Report