putting shell script accessible in all directory
i have created a sh script to mount and unmount devices when i call it to.
where do i place the sh script file name "mum" so that when i am in let say /usr/src/linux and would like to call the mum sh file and mount devices. currently i have to do this inorder to mount device using my sh script:- # sh /home/laiseng/mum mount |
yeah, it's possible, first, did you chmod 777 the shell script to give it execute permissions?
then put it in /bin or /usr/bin.... |
All times are GMT -5. The time now is 08:04 AM. |