Re: go deep directories
On Wed, Oct 26, 2011 at 6:06 AM, lina lina.lastn...@gmail.com wrote: On Tuesday 25,October,2011 11:53 PM, Raf Czlonka wrote: On Tue, Oct 25, 2011 at 04:50:53PM BST, Raf Czlonka wrote: On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote: a quick question, are there some tricks to go deep directories quickly, such as cd Atheone/ As long as theone is a unique name and you're using zsh: % cd **/*/theone will work. $ cd **/*/500ns bash: cd: **/*/500ns: No such file or directory You need to use zsh (different shell from bash) Besides pushd, popd of course. Do I need install some package? I checked the debian package, seems no one has the name pushd and popd. They are built-in commands in bash, you don't need any package more than bash (or maybe other shell) Regards, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAL5yMZR9qmsNWMnb=wq6hnwpxxqvep9_htm1-etp-hqjve7...@mail.gmail.com
Re: go deep directories
On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote: a quick question, are there some tricks to go deep directories quickly, such as cd Atheone/ As long as theone is a unique name and you're using zsh: % cd **/*/theone will work. Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111025155053.ga13...@linuxstuff.pl
Re: go deep directories
On Tue, Oct 25, 2011 at 04:50:53PM BST, Raf Czlonka wrote: On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote: a quick question, are there some tricks to go deep directories quickly, such as cd Atheone/ As long as theone is a unique name and you're using zsh: % cd **/*/theone will work. Besides pushd, popd of course. -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111025155308.ga13...@linuxstuff.pl
Re: go deep directories
On Tue, Oct 25, 2011 at 5:23 PM, lina lina.lastn...@gmail.com wrote: Hi, a quick question, are there some tricks to go deep directories quickly, such as cd Atheone/ Tab is good. Just curious See autojump package in repo Regards, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cal5ymztrwp1nul+rqjm_xrgfzp81g_062bbdwuszkgxnzzw...@mail.gmail.com
Re: go deep directories
lina wrote at 2011-10-25 10:23 -0500: a quick question, are there some tricks to go deep directories quickly, Perhaps a bit different than you are thinking, but you could check the xd package. signature.asc Description: Digital signature
Re: go deep directories
On Tuesday 25,October,2011 11:53 PM, Raf Czlonka wrote: On Tue, Oct 25, 2011 at 04:50:53PM BST, Raf Czlonka wrote: On Tue, Oct 25, 2011 at 04:23:51PM BST, lina wrote: a quick question, are there some tricks to go deep directories quickly, such as cd Atheone/ As long as theone is a unique name and you're using zsh: % cd **/*/theone will work. $ cd **/*/500ns bash: cd: **/*/500ns: No such file or directory Besides pushd, popd of course. Do I need install some package? I checked the debian package, seems no one has the name pushd and popd. Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ea7875f.2050...@gmail.com