Re: tip: cd previous directory

2019-01-31 Thread sixpack13
somewhat outdated, but ... https://www.tldp.org/LDP/abs/html/ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html L

Re: tip: cd previous directory

2019-01-31 Thread Bill Shirley
I just pushd, popd, dirs all the time.  'dirs -v' is very handy navigating the stack.  I put and alias in ~/.bashrc: alias dirs='dirs -v' [0:root@c3po public_html]$ dirs  0  /home/webmaster/public_html  1  ~/config/apache  2  ~/config/network  3  ~/config/dhcp To change to the 3rd directory,pus

Re: tip: cd previous directory

2019-01-25 Thread Wolfgang Pfeiffer
On Tue, Jan 22, 2019 at 10:55:07PM -0800, ToddAndMargo via users wrote: Hi All, I just discovered this. To cd back to the previous directory cd - What a time saver! ... and really! - and I didn't know about it before, so: Thanks, lots! .. :) Also a big Thanks to GianPiero for the push

Re: tip: cd previous directory

2019-01-23 Thread Jon LaBadie
On Wed, Jan 23, 2019 at 08:43:11AM -0600, SternData wrote: > On 1/23/19 12:55 AM, ToddAndMargo via users wrote: > > Hi All, > > > > I just discovered this.  To cd back to the previous directory > > > > cd  - > > > > What a time saver! > > > > -T > > OK, then this will blow your mind: > >

Re: tip: cd previous directory

2019-01-23 Thread Jon LaBadie
On Wed, Jan 23, 2019 at 03:58:09AM -0800, ToddAndMargo via users wrote: > On 1/23/19 3:25 AM, John Harris wrote: > > On Wednesday, January 23, 2019 2:36:06 AM EST ToddAndMargo via users wrote: > > > On 1/22/19 11:15 PM, Ed Greshko wrote: > > > > On 1/23/19 3:12 PM, ToddAndMargo via users wrote: > >

Re: tip: cd previous directory

2019-01-23 Thread Peter Reed
On Tue, 22 Jan 2019 22:55:07 -0800 ToddAndMargo via users wrote: > Hi All, > > I just discovered this. To cd back to the previous directory > > cd - > > What a time saver! > > -T > ___ Or you could install cdargs and use cv and the arrow ke

Re: tip: cd previous directory

2019-01-23 Thread SternData
On 1/23/19 12:55 AM, ToddAndMargo via users wrote: > Hi All, > > I just discovered this.  To cd back to the previous directory > > cd  - > > What a time saver! > > -T OK, then this will blow your mind: dnf install autojump https://www.linode.com/docs/tools-reference/tools/faster-file-na

Re: tip: cd previous directory

2019-01-23 Thread GianPiero Puccioni
On 23/01/2019 14:44, Patrick O'Callaghan wrote: On Wed, 2019-01-23 at 14:01 +0100, GianPiero Puccioni wrote: On 23/01/2019 07:55, ToddAndMargo via users wrote: Hi All, I just discovered this. To cd back to the previous directory cd - What a time saver! -T There is also a more pow

Re: tip: cd previous directory

2019-01-23 Thread Patrick O'Callaghan
On Wed, 2019-01-23 at 14:01 +0100, GianPiero Puccioni wrote: > On 23/01/2019 07:55, ToddAndMargo via users wrote: > > Hi All, > > > > I just discovered this. To cd back to the previous directory > > > > cd - > > > > What a time saver! > > > > -T > > There is also a more powerful tool:

Re: tip: cd previous directory

2019-01-23 Thread GianPiero Puccioni
On 23/01/2019 07:55, ToddAndMargo via users wrote: Hi All, I just discovered this.  To cd back to the previous directory cd  - What a time saver! -T There is also a more powerful tool: pushd DIR cd to DIR and push olddir on a stack popd cd to the DIR on top of stack and remov

Re: tip: cd previous directory

2019-01-23 Thread John Harris
On Wednesday, January 23, 2019 6:58:09 AM EST ToddAndMargo via users wrote: > On 1/23/19 3:25 AM, John Harris wrote: > > > On Wednesday, January 23, 2019 2:36:06 AM EST ToddAndMargo via users > > wrote: > > >> On 1/22/19 11:15 PM, Ed Greshko wrote: > >> > >> > >> > >>> On 1/23/19 3:12 PM, ToddAnd

Re: tip: cd previous directory

2019-01-23 Thread ToddAndMargo via users
On 1/23/19 3:25 AM, John Harris wrote: On Wednesday, January 23, 2019 2:36:06 AM EST ToddAndMargo via users wrote: On 1/22/19 11:15 PM, Ed Greshko wrote: On 1/23/19 3:12 PM, ToddAndMargo via users wrote: You don't understand what I said. I meant "previous" directory, not directory before th

Re: tip: cd previous directory

2019-01-23 Thread John Harris
On Wednesday, January 23, 2019 5:36:40 AM EST Patrick O'Callaghan wrote: > On Tue, 2019-01-22 at 22:55 -0800, ToddAndMargo via users wrote: > > > Hi All, > > > > I just discovered this. To cd back to the previous directory > > > > > > cd - > > > > > > What a time saver! > > > This h

Re: tip: cd previous directory

2019-01-23 Thread John Harris
On Wednesday, January 23, 2019 2:36:06 AM EST ToddAndMargo via users wrote: > On 1/22/19 11:15 PM, Ed Greshko wrote: > > > On 1/23/19 3:12 PM, ToddAndMargo via users wrote: > > > >> You don't understand what I said. I meant "previous" directory, > >> not directory before the current direcorty.

Re: tip: cd previous directory

2019-01-23 Thread ToddAndMargo via users
On 1/23/19 2:36 AM, Patrick O'Callaghan wrote: On Tue, 2019-01-22 at 22:55 -0800, ToddAndMargo via users wrote: Hi All, I just discovered this. To cd back to the previous directory cd - What a time saver! This has been around since before Linux was even thought of. IIRC it goes bac

Re: tip: cd previous directory

2019-01-23 Thread Patrick O'Callaghan
On Tue, 2019-01-22 at 22:55 -0800, ToddAndMargo via users wrote: > Hi All, > > I just discovered this. To cd back to the previous directory > > cd - > > What a time saver! This has been around since before Linux was even thought of. IIRC it goes back at least to the Unix System V shell

Re: tip: cd previous directory

2019-01-22 Thread ToddAndMargo via users
On 1/22/19 11:15 PM, Ed Greshko wrote: On 1/23/19 3:12 PM, ToddAndMargo via users wrote: You don't understand what I said.  I meant "previous" directory, not directory before the current direcorty.  Here is an example: And here is the man page snippet... -   is  converted  to  $OLDPWD  before

Re: tip: cd previous directory

2019-01-22 Thread Ed Greshko
On 1/23/19 3:12 PM, ToddAndMargo via users wrote: > You don't understand what I said.  I meant "previous" directory, > not directory before the current direcorty.  Here is an example: And here is the man page snippet... -   is  converted  to  $OLDPWD  before  the  directory  change  is attempted

Re: tip: cd previous directory

2019-01-22 Thread ToddAndMargo via users
On 1/22/19 11:06 PM, Joe Zeff wrote: On 01/22/2019 11:55 PM, ToddAndMargo via users wrote: Hi All, I just discovered this.  To cd back to the previous directory   cd  - What a time saver! Yes.  It saves one keystroke from cd .. You don't understand what I said. I meant "previous" di

Re: tip: cd previous directory

2019-01-22 Thread Ed Greshko
On 1/23/19 3:06 PM, Joe Zeff wrote: > On 01/22/2019 11:55 PM, ToddAndMargo via users wrote: >> Hi All, >> >> I just discovered this.  To cd back to the previous directory >> >>   cd  - >> >> What a time saver! > > Yes.  It saves one keystroke from > > cd .. He said "previous" not "parent" Try

Re: tip: cd previous directory

2019-01-22 Thread Joe Zeff
On 01/22/2019 11:55 PM, ToddAndMargo via users wrote: Hi All, I just discovered this.  To cd back to the previous directory cd  - What a time saver! Yes. It saves one keystroke from cd .. ___ users mailing list -- users@lists.fedoraproject.