Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was looking at stuff like /bin/bash, and I wanted to make my own file like that that's full of aliases, but I need to know the file extension. Please tell me.

share|improve this question
Linux does not use file extensions like Windows, just get the command spelled right. – Uri Herrera Dec 19 '12 at 0:20
You want to use BASH aliases? – user8290 Dec 19 '12 at 3:46
By "file extension", do you mean the file's MIME type? – Christopher Kyle Horton Dec 19 '12 at 7:53

You shouldn't add stuff in /bin as this directory is handled by the OS. Use a custom directory in your homedir or /opt/monkeyman/bin for example, and use an extension only if you find it useful for some reason. Unix/Linux doesn't require or even make use of a file extension for commands, it only wants an executable to have the executable permission set.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.