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,
My new understanding of alias: Using alias to make rm safer, aliasrm
Rm's tragedy always happens inadvertently. Therefore, whether in shell scripts or interactive bash environments, you should always think twice before executing rm commands. As a
How to set up alias in linuxSetting alias in centos is relatively simple, for example:Vim/root/. bashrcSample code:AddAlias rm = 'rm-I'Detailed description of alias commands for setting commands in Linux aliasFunction description: sets the alias of
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
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
Rename the file alias for each file. ID and file. incarnation number
Reference Original:
Rename alias of datafile as per file. ID and file. incarnation number (Doc ID 1494661.1)
Applicable:
Oracle Database-Enterprise Edition-version 11.2.0.0 and
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.