cd script - Programming On Unix

Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
Code:
cd -

Saves my life 10 times a day: it goes back to the last directory, and it works in all damn shells :)

For the `exec bash` thingy, it should not return afger you exit it. Your term application might respawn a shell automatically when its process ends.


Messages In This Thread
cd script - by r4ndom - 03-05-2017, 06:35 AM
RE: cd script - by venam - 03-05-2017, 07:27 AM
RE: cd script - by darthlukan - 03-05-2017, 12:19 PM
RE: cd script - by r4ndom - 03-05-2017, 04:36 PM
RE: cd script - by venam - 04-05-2017, 12:08 AM
RE: cd script - by rocx - 04-05-2017, 12:46 PM
RE: cd script - by z3bra - 04-05-2017, 07:19 PM