Remove some path from the PATH variable temporarily.
How many times has it happened to you that you are working on some linux platform (like Fedora/Ubuntu/CentOS etc) and suddenly you see that you need to remove some path from the PATH variable so that a script is executed from some other path. It really difficult to do this if the path is too long and if you end up doing this couple of times. If that is the case, then the below script is for you 🙂
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
Related articles by Zemanta
- wordpress blog stats monitoring from remote using curl and bash and send it in mail. (amit-agarwal.co.in)
- Perl Excel to create a test plan with perl – specially very (amit-agarwal.co.in)
- for loop in bash script on solaris without seq (amit-agarwal.co.in)
Related Articles:
- 2010/06/25
- 2010/04/21 Upgrade to Fedora 13 from your existing version using yum.
- 2009/12/24 EncFS – Simple article to use Encrypted filesystem in Linux
- 2010/07/23 How To Install Ailurus 10.05 On Fedora | HowtoForge - Linux Howtos and Tutorials
- 2010/07/14 Configurable Linux Distro You Might Want To Try – Fedora
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.