[NTLUG:Discuss] Any idea of pop utilities
Paul Drew
solarcurve at msn.com
Fri Jun 20 12:21:26 CDT 2003
Howdy,
Depending on what shell your in, you could just make aliases for it in your
.profile, or .cshrc file. I really just depends on what shell your in. If I
understand what your doing.
alias ls 'ls -CA'
the above is a sample from my .cshrc which I use because I use tcsh in Irix.
alias pop 'cd ..'
alias push 'cd'
That should work if you were using the same shell. I don't know what the
differences between the other shells with specifics to syntax. Good luck,
and I hope I helped some.
Paul Drew
>From: Pervaz Allaudin <pervaz at att.net>
>Reply-To: NTLUG Discussion List <discuss at ntlug.org>
>To: NTLUG <discuss at ntlug.org>
>Subject: [NTLUG:Discuss] Any idea of pop utilities
>Date: Fri, 20 Jun 2003 11:45:41 -0500
>
>I do not remember exactly when and where but I saw this demo where a guy
>was switching between subdirs using a command like push and pop. Where push
>dir worked like cd and pop brought him back to original. (I do not recall
>if he just popped again to return to the last one.)
>
>Every time I have to switch back and forth between dirs I remember this. I
>looked for it but could not find it.
>
>As you can tell I am novice enough not to be able to make one in bash shell
>on the fly. I probably could with a bit of an effort and a day or two but
>Anybody know where I can get this or anything similar.
>
>Pervaz
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Discuss
mailing list