The alias command is used to create aliases, and to get a list of aliased commands.
The syntax is shell dependent:
alias l=ls alias la='ls -A'
alias l ls alias la 'ls -A'
> alias a=aaa > alias -g b=bbb > echo a b a bbb
This can be very useful :
> alias -g ...='../..' > pwd /foo/bar/misc > cd ... > pwd /foo
For more information on the specific options of your shell, check its man page.
You can use this to get a list of existing aliases:
> alias ...=../.. ....=../../.. .....=../../../.. ......=../../../../.. .......=../../../../../.. clean='rm -f `find . -name "*~" -o -name ".*~" -o -name ".*.core" -o -name "*.core" -o -name "#*#" -o -name "a.out"` close='cdcontrol -f /dev/cd0 close' eject='cdcontrol -f /dev/cd0 eject' fr='export LANG=fr_FR.ISO8859-15' la='ls -a' ll='ls -Al' ls='ls -FG' > alias ls ls='ls -FG'
10 Keys to Happier Living
Action for Happiness has developed the 10 Keys to Happier Living based on a review of the latest scientific research relating to happiness. Everyones path to happiness is different, but the research suggests these Ten Keys consistently tend to have a positive impact on peoples overall happiness and well-being.
The Story of Change
"Ive come to see that we have two parts to ourselves; its almost like two muscles -- a consumer muscle and a citizen muscle. Our consumer muscle, which is fed and exercised constantly, has grown strong: So strong that "consumer" has become our primary identity, our reason for being. Were told so often that were a nation of consumers that we dont blink when the media use "consumer" and "person" interchangeably."
3 Things You Can Say to Someone Who Does Not Like You
I do my thing and you do your thing. I am not in this world to live up to your expectations, and you are not in this world to live up to mine. You are you, and I am I, and if by chance we find each other, its beautiful. If not, it cant be helped. Fritz Perls
New Toilet System Transform Waste into Electricity
Scientists from Nanyang Technological University (NTU) have invented a new toilet system that will turn human waste into electricity and fertilisers and also reduce the amount of water needed for flushing by up to 90 per cent compared to current toilet systems in Singapore.
Bangladesh rickshaw puller starts clinic for the poor
Joynal Abedin still remembers the rainy and windy night when he saw his father die because there was no medical treatment. His village in the northern Mymensingh district of Bangladesh did not have any medical facility at that time, and the nearest hospital was about 20km (12 miles) away.