In the Linux system operation, when using the command, some command lines are very long and often used. It is very inconvenient to use. If you can rename the command, it will be much simpler. Everyone introduces how Linux sets up command aliases.
recently engaged in a Django site, often need to enter the /var /www /site /mycitsm /directory, each had to repeat this long list of input into the path of the directory, it is cumbersome and time-consuming Is there a good way to take an alias like "cd /var/www/site/mycitsm" and you can enter this directory by typing the alias each time?
Fortunately, the Linux system provides a useful tool called alias, which allows us to set an alias for some commands that need to be used frequently but are too lengthy, so that you only need to enter a short one in the future. Alias can achieve the same effect.
Usage: alias [-p] [name[=value] . . . ] Note that ‘=’ and strings cannot contain spaces
Show the currently set alias:
shell"alias -p
alias l.=‘ Ls -d .* --color=tty’
alias ll=‘ls -l --color=tty’
alias ls=‘ls --color=tty’< Br>
alias vi=‘vim’
alias which=‘alias
In Linux systems, the Mogilefs Distributed Storage System can be used to store images and automatica
Management of Linux system squadron user accounts refers to adding, modifying, and
Some Red Flag Linux 6.0 system users find that their computer cant mount NTFS parti
Linux users found 553 Could not create file error when using vsftp. In the face of
Linux signal mechanism analysis
Linux can not identify the u disk solution
What should I do if there is a mount:Structure needs cleaning error in Linux?
What is the Linux Find File command?
Linux system how to use the mount command and software to mount the ISO file
Linux steps to use Windows documentation
Linux php-cgi accounted for 100% of the memory solution
Linux configuration SSH service method
Detailed examples of Linux dynamic library generation
Install Win8 three steps to build a personal computer
Windows7 energy saving solution extends notebook life time
What is the configuration of the computer in 2017 to play the dungeon better
How to set up a win7 computer to open a folder in a separate process
How to close the Win7 scheduled mission service? How to close the Task Scheduler service in Win7
Linux cluster principle and installation configuration
U disk version Win10 Home Edition and Professional Edition opened in Amazon.com: Home Edition $120
Figure shows the history of Windows operating system evolution: 1985-2012