Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux CentOS7 Cloud Computing Advanced Operation and maintenance Phase 1 2

Shulou Source: shulou.com Published: 2022-06-02 06:45:52 09月30日 Update

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

Tags: Command time alias terminal original text font local copyright status user link permanent switch help information global internal and external kernel provenance original article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Information NVidia macOS Linux