1. The command alias that takes effect permanently for the current user
1. Write a command called hello, and the function realized is that every time the hello command is input, there will be hello, and everyone will be written into the file /file.txt.
2. Write a command alias named shuaxin, and the realized function is that every time the command is entered, all the time in the file.txt file will be updated to the current time.
2. Command aliases effective for all users
1. In the third-level title, write a command alias named hh that is effective for all users. After each user enters this command, a file1 file can be created in the user's home directory.
Enter vim /etc/bashrc to enter read-write mode, then enter alias hh='touch /file1'