Unmount Command Not Found?
I have a few RHEL 5.6 hosts and when trying to unount a file system I am receiving the following error:
[root@localhost/]# unmount /db/prd05 -bash: unmount: command not found I am confused, isn't unmount a standard command? Also tried to look it up: [root@localhost /]# man unmount No manual entry for unmount |
umount
|
i feel like an idiot... guess this is why I posted in the newbie section.
|
Don't worry about it - I'm sure we all still occasionally do that.
I often wondered why, but never bothered to look. Just found this. |
i habitually put a "n" in that command
there are MANY that are like that one i use often is " dstripe" and yes it DE-STRIPS images from spacecraft |
lol... thanks guys.
|
Thank you
Quote:
|
What you could do is put an alias in your .bashrc file (or in .bash_aliases if you've got that)
Code:
alias unmount umount |
Quote:
alias is great, but sometimes it is a bad idea to use a crutch. I mostly use alias to set default options Code:
alias ls="ls --color=always" or last "one wins" |
another thought, bash completion.
<tab> is the tab ;) Code:
unm<tab> # I get unmkinitramfs ? thats not unmount? Code:
umount --<tab> ## gives us a list of the options for umount ;) note, this is a bash feature, other shells ( like ksh zsh ) have similar funtionality ,just a little different. try ls /usr/<tab><tab> you now have a tab habit and can probably navigate your way though the filesystem on the command line faster than a gui file manager |
I do the same even for usr sometimes as I am saying it out in my head user local share my fingers get carried away with literals.
Code:
/user/local/share |
I would be spamming tab at L ;)
|
All times are GMT -5. The time now is 06:10 AM. |