Tip #550 Go up n directory levels
You often see people using aliases like "alias ..='cd ..'" and "alias ...='cd ../..'". Here is a general version of this kind of '..' command, which takes an argument for how many levels up to go.Read more »
- TAGS:
- cd
Tip #546 Move and follow
This can be used instead of "mv" to move file(s) and then cd into the destination folder.Read more »
Tip #769 .. revisited
Tip 550 gives a script for a '..' command which will go up n directory levels, however the version there messes up your previous directory so "cd -" will not work. The version below fixes this problem:.. v1.1
Usage .. [n]
Go up n-levels.
i.e.: .. 3 will go up 3 levels
Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs