If you are working in a big project such as Android, you will find that changing directory in a deep tree is painful.
Try adding this function to ~/.bashrc
..() { num=$1 test $1 || num=1 seq=`seq $num` next=`printf '../%.0s' {$seq}` cd $next ls }
suppose you are at /home/foo/L1/L2/L3/L4
$ .. # will go to L3 $ .. 2 # will go to L2 $ .. 3 # will go to L1 $ .. 100 # will go to /
Thanks!
ReplyDeletehttps://orb25.com/
ReplyDeleteDigital Marketing Company in Coimbatore, Tamilnadu - Orb25
ReplyDelete