Write your own Linux commands (B)

Our command to clear the terminal on Windows is cls as shown in the figure: we use clear
insert image description here
insert image description here
in Linux , of course, we can also use the shortcut key "Ctrl+L". You can achieve the effect of clearing the screen: 1. Edit the bashrc file. 2. Make the configuration file take effect immediately:

insert image description here

source ~/.bashrc

3. Now you can clear the screen by typing "cls".
4.
After verification, try to
close ssh and reconnect after restarting
. Enter alias to see all aliases
insert image description here

Guess you like

Origin blog.csdn.net/Cloud_1234_5678/article/details/89021296