big admin big daddy
Wednesday, November 02, 2005
unix tip: return to previous directory
for
linux
if
u want to return to previous directory u can type.
eg:
$ cd -
this also works for
solaris
&
hpux
. ooopss also works for
aix
, but if not working u can try this.
$ cd ~-
i suspect it's depend on your shell... hmmm no idea...
1 comment:
0xff
said...
boleh guna "cd" sahaje utk ke $HOME anda. tak perlu ~ atau - pun.
works on bash.
wslm
5:47 PM, December 21, 2005
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
boleh guna "cd" sahaje utk ke $HOME anda. tak perlu ~ atau - pun.
works on bash.
wslm
Post a Comment