alias manpage missing

Asked by Jan Girke

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:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

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

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
Sam_ (and-sam) said :
#5

Click on +Create bug report above the inbox.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

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.