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
5:47 PM, December 21, 2005
boleh guna "cd" sahaje utk ke $HOME anda. tak perlu ~ atau - pun.
works on bash.
wslm
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
boleh guna "cd" sahaje utk ke $HOME anda. tak perlu ~ atau - pun.
ReplyDeleteworks on bash.
wslm