How to make the user-defined command alias for Linux permanently effective.
The alias (Chinese called "Alias") allows you to redefine the Shell command in Linux with a shorter name, simplifying the command line input. If you often deal with the
First with Xshell landing Centos7,First, the system directory structureIn the Command window, enterLS/LS is an abbreviation for list that lists the specified directory or file/is the root directory of the Linux operating system, all files and
The command alias function of a Linux system the command alias function will use a large number of commands during the management and maintenance of the Linux system, and some long commands or usage are often used, repeated and frequent input of a
Recently, a Django site needs to frequently access the varwwwsitemycitsm Directory. every time you have to repeat the input string, you have recently created a Django site, the/var/www/site/mycitsm/directory needs to be accessed frequently. it is
11, Alias/unaliasYou can use the alias command to define an alias for a command, and if there are spaces in the command, you need to use double quotation marks (such as spaces between commands and options), and use the Unalias command when the user
directory Structure of Linux systemsroot directory/vertex, all other directories are under the root. The directories and subdirectories below the root are a hierarchical tree structure, much like an upside down tree. The directory structure and disk
In the process of managing and maintaining a Linux system, a large number of commands will be used, and some long commands or usages are often used, and it is undesirable to repeatedly and frequently enter a very long command or usage. This process
The alias command is used to set the name of the directive. We can use this command to simplify some of the longer commands. When using alias, the user must use single quotes ' to cause the original command to prevent special characters from causing
June 1 Task2.1/2.2 System directory Structure2.3 ls Command2.4 File types2.5 alias Command2.1/2.2 System directory StructureLS list for listing files or directories[[email protected] /]# lsbin boot dev etc home lib lib64 media mnt opt proc
Article title: Linux tutorial-alias. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Another way to make work
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.