The usage of Alias in Ubuntu is described in detail (there are many details that need attention ). The remote logon software scureCRT is installed on the host, but the cracked version cannot be found in the linux environment. You can only use the 30-day trial version. I will not go into details about this version. Please refer to the following article: http://www.linuxidc.com/linux/2012-06/63053.htmin this article ~ /. Vandyke/Config directory
The usage of Alias in Ubuntu is described in detail (there are many details that need attention ). The remote logon software scureCRT is installed on the host, but the cracked version cannot be found in the linux environment. You can only use the 30-day trial version. For this version, there is infinite use of the method, detailed I will not talk about, please refer to the following article: http://www.linuxidc.com/Linux/2012-06/63053.htm
You can see in the article ~ /. Vandyke/Config is difficult to remember, so I want to customize a PATH variable to indicate this path, in ubuntu, an alias command can be used to set the command alias and path alias. The detailed usage is as follows:
Alias [alias] = [command name]
The command name must be enclosed in single quotes. However, if you directly use the preceding command in the terminal, the command alias or path alias can only be valid for this logon. Once you switch the user or log out of the system, the command will become invalid. To make the custom alias valid for a long time, you need to set it in the configuration file. The path of this configuration file is ~ /. Bashrc. When we log on, the system will read this document to get our set value, and we can use our own set value .~ The contents of/. bashrc are as follows:
We can see that I have added alias scurecrt = 'CD ~ to the last line of the current user's/. bashrc file ~ /. Vandyke/Config/'statement, so that I can use the alias scurecrt to access it next time ~ /. Vandyke/Config/directory. After this setting, if you want to make the setting take effect immediately, use the source command, that is
Source ~ /. Bashrc
Command to make the configuration file take effect immediately. The original source command reads the set content to the current shell, and the current user can use it immediately.
Note:
When setting the path alias, note that you must add a '/' At the end of the directory name. Otherwise, when using the path alias, you will prompt "~ /. Vandyke/Config is a directory error. Because when you use this directory alias ~ /. Vandyke/Config/directory, so remember not to forget '/' After Config '/'.
The details here are the considerations above, which is easy to ignore for cainiao. So, take a closer look at the cainiao.