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
Brief descriptionIn Windows PowerShell, aliases are alternative names for cmdlets or other commands.
Detailed descriptionAliases are cmdlet or commands (for example: functions, scripts, files, executables.) Alternative name, or a nickname. You can
alias(Chinese is called"aliases"allows a shorter name to be used to redefineLinuxin theShellcommand, which simplifies the input of the command line. If often withCLIdeal with, then usealiasnot only will save time, but also can improve efficiency,
AliasCommand: AliasFeature Description: Set the alias of the commandSyntax: alias [command]= ' other commands 'Cases:[[email protected] data]# aliasAlias cp= ' Cp-i 'Alias l.= ' ls-d. *--color=auto 'Alias ll= ' Ls-l--color=auto 'Alias ls= '
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
In the article "MyBatis Series (three)---configuration detailed properties and environments (MyBatis source article)" introduced the properties and environments, This article continues with one of the remaining configuration nodes: Typealiases.
This is a creation in
Article, where the information may have evolved or changed.
This article for the original article, reprint annotated source, welcome to sweep the code to pay attention flysnow_org to the public number or website
In a previous article, we mentioned that there can be a very convenient alias mechanism in PS, which is helpful for people familiar with other console shells to use ps. However, some of these problems are only
So far, let's talk about this topic in
Recently checked the server when found that there is not enough disk space, just have two hard drives, a hard disk is still empty, just through the FTP server alias function to add space, so no need to rebuild the machine
DescriptionThe virtual
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.