Xfce terminal
Shortcut Key | Function |
---|---|
Ctrl + d | Keyboard input ends or exits the terminal |
Ctrl + s | Pause the current program and press any key to resume it |
Ctrl + z | Put the current program into the background |
Ctrl + a | Move the cursor to the beginning of the input line, equivalent to Home |
Ctrl + e | Move the cursor to the end of the input line, equivalent to End |
Ctrl + k | Remove content from the the place the cursor is currently at to the end of the line |
Alt + Backspace | Delete a word forward |
Shift + PgUp | Scroll up the terminal |
Shift + PgDn | Scroll down the terminal |
Create multiple files
When you are creating files, if you need to create multiple files at once, for example:“love_1_linux.txt,love_2_linux.txt,… love_10_linux.txt”, you can use the following command:
$ touch love_{1..10}_linux.txt
Parameters of who
:.
Parameter | Description |
---|---|
-a | Print all information |
-d | Print dead process |
-m | Same as am i ,mom likes |
-q | Get number of users logged in and their user names |
-u | Get the list of users logged in |
-r | Get the current run level |