Article title: alias shell Bash in the network classroom. 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.
Alias -- TurboLinux network classroom
Another way to make work easier is to use command aliases. The command
A few days ago, the project used the push function, on the integration of the laser, encountered 2 problems, to share with you, the first question:The process of integration is done according to the laser documentation, but the final configuration is finished, and as soon as it runs, it prints out this sentence,Finally, it is the reason that the description certificate (provisioning profile) was not added to Xcode,Workaround: COM +, open the following
1. first introduce the usage of alias (alias)
Alias la = 'LS-a' alias B = 'CD... 'and so on
Alias is a good thing. It can save a lot of time when using shell.
2. But one day I found that the if statement cannot be used when executing the shell script, the following error wi
1. first introduce the usage of Alias (alias)
Alias LA = 'LS-a' alias B = 'CD... 'and so on
Alias is a good thing. It can save a lot of time when using shell.
2. But one day I found that the if statement cannot be used when executing the shell script, the following error wi
; Alertalias alert= ' Notify-send--urgency=low-i "$ ([$? = 0] echo Terminal | | echo error) "" $ (history|tail-n1|sed-e ' s/^\s*[0-9]\+\s*//;s/[;| ") \s*alert$//' \ ') ' # Alias definitions.# want to put all your additions into a separate file like# ~/.bash_aliases, instead of adding them here directly.# see/usr/share/doc/bash-doc/examples In the Bash-doc Packag
ObjectiveDuring the bash process, the data in the bash process memory is read, and when the bash process terminates, the data in the process is recycled by the operating system, and the variable is also the data that is defined in the current shell process memory space. When the shell terminates, the variable is also invalidatedRoleOptions: Define the working beh
24down Votefavorite A
I am reading about the basic shell scripting from the Linux Command line and shell scripting Bible.It says the /etc/profile file sets the environment variables at the startup of the Bash shell. /etc/profile.dThe directory contains other scripts that contain application-specific startup files, which is also executed at STA Rtup time by the shell.
Bash's configuration fileBash configuration file :Persist User ConfigurationProfile class: Provides configuration for interactively logged-on users/etc/profile Global/etc/profile.d/*.sh Global~/.bash_profile personal Configuration, valid only for the current userFunction:Setting environment variablesUsed to implement a run command or scriptHow to read the configuration file:/etc/profile-->/etc/profile.d/*.s
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.