alias manpage missing

Asked by Jan Girke on 2012-01-07

Hi

Where is the alias man page on Ubuntu 10.04.3?
In fact unalias has no man page too.

Cheers Jan

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Manpage Repository Edit question
Assignee:
No assignee Edit question
Last query:
2012-01-07
Last reply:
2012-01-08

Do you want to know how to use alias, or are you simply pointing out there is no alias man page?

Jan Girke (jangirke) said : #3

There is no alias man page.
There should be at least a referer to bash and the section about alias and unalias.
How can I file a bug report so that gets fixed.

Sam_ (and-sam) said : #4

man dash 'Aliases' links to man alias, but not found.
http://manpages.ubuntu.com/manpages/oneiric/en/man1/alias.1.html

Sam_ (and-sam) said : #5

Click on +Create bug report above the inbox.

Incase someone searches and finds this, the command to start the ball rolling is:

gedit ~/.bashrc

at the bottom of the file add the alias, something like:

alias ping='ping -c 4'

Now when ping is ran, it will run it with the option by default, this makes ping only ping 4 times (like in Windows) rather than infinitely as is default. This is just one example, you can alias lots of commands to words as you desire.

Save the new file, close gedit and run:

source ~/.bashrc

And it's ready to roll.

Can you help with this problem?

Provide an answer of your own, or ask Jan Girke for more information if necessary.

To post a message you must log in.