.bash_profile SAMPLE SCRIPT
Would it be great if you can issue "ifconfig" command without typing the whole command like "/sbin/ifconfig" ... ?
To actually do that we need to make some changes on our ".bash_profile". Just add this line to your .bash_profile [PATH=$HOME/bin:$PATH:/usr/sbin:/sbin:/usr/local/sbin]. You have to log-out in order for the script to take effect. Then try executing "ifconfig".
No comments:
Post a Comment