RE: Something for PLUG Website

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeffrey Pyne
Date:  
To: 'plug-discuss@lists.plug.phoenix.az.us'
Subject: RE: Something for PLUG Website
On Friday, June 11, 2004 7:44 AM, Ed Skinner wrote:

> For some years I've slowly accumulated a list of notes
> on doing various things in Linux. 
>      Here's a brief sampling:


Cool, useful stuff. It seems like no matter how long I use computers,
there's always some cool new trick to learn.

>     pushd .; cd elsewhere; do some stuff; popd # go back, 


There's another way to skin this cat, too. If you just type "cd -", you go
back to your previous directory. (This works in bash and ksh.) Another
shortcut is just running "cd" (with no arguments). That'll take you to your
home directory. (This also works in bash and ksh.)

[oracle@devserver3 saved]$ pwd
/tmp/saved
[oracle@devserver3 saved]$ cd
[oracle@devserver3 oracle]$ pwd
/home/oracle
[oracle@devserver3 oracle]$ cd -
/tmp/saved
[oracle@devserver3 saved]$ pwd
/tmp/saved
[oracle@devserver3 saved]$

~Jeff
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss