Initial use of the terminal

1. Terminal classification

  Two emulation terminals: 1. GHOMETerminal for GNOME desktop; 2. KonsoleTerminal for KDE desktop

  Remote connection terminal tools: Xshell, CRT

2. View the virtual terminal to which the current terminal belongs

  View by tty command

3. How different terminals communicate

  1), use ctrl+shift+n to create a new terminal

  2), open two terminals at the same time, the first terminal executes: echo the content to be passed > the address of the other terminal viewed with tty   

 The meaning of ">" redirection

  3) Send a message to all terminals

  Shutdown keyword shutdown +10 "This entry is defined as shutdown after 10 minutes"

  shutdown -c cancels the command

  Send a custom message to all terminals:   wall "I'm going to shutdown"

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325686860&siteId=291194637