Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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? –  WarriorIng64 Dec 19 '12 at 7:53

1 Answer 1

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

 
discard

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.