Re: How Do You Change a Directory Name Without 'mv'?
From: grenoble (gregnoble_at_j9n35c.inval)
Date: 11/28/05
- Next message: Michael Heiming: "Re: Copy with an exclude filter?"
- Previous message: Richard Steiner: "Re: Copy with an exclude filter?"
- Next in thread: Chris F.A. Johnson: "Re: How Do You Change a Directory Name Without 'mv'?"
- Maybe reply: Chris F.A. Johnson: "Re: How Do You Change a Directory Name Without 'mv'?"
- Reply: Jean-David Beyer: "Re: How Do You Change a Directory Name Without 'mv'?"
- Maybe reply: mst: "Re: How Do You Change a Directory Name Without 'mv'?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Nov 2005 23:35:22 -0800
"Jack Strangio" <check@approved.hdr> wrote in message
news:IqJosH.7Mn@ozemail.com.au
> So I could move to / with 'cd', but had no 'ls'. I overcame that
> problem with ' echo * ', hence I could see that my /bin had been
> changed to /binz. Now all I had to do was find a way of using my
> 'bash' commands to do the job of changing it back. I'm sure I
> saw a method for this many years ago, but I couldn't remember it.
>
> (So I rebooted with Knoppix and fixed it in a jiffy.)
>
> Anyhow, a quick puzzle for the shell gurus: How can you change a
> directory name using nothing but the 'bash' built-ins?
/binz/mv /binz /bin
>
> Jack
- Next message: Michael Heiming: "Re: Copy with an exclude filter?"
- Previous message: Richard Steiner: "Re: Copy with an exclude filter?"
- Next in thread: Chris F.A. Johnson: "Re: How Do You Change a Directory Name Without 'mv'?"
- Maybe reply: Chris F.A. Johnson: "Re: How Do You Change a Directory Name Without 'mv'?"
- Reply: Jean-David Beyer: "Re: How Do You Change a Directory Name Without 'mv'?"
- Maybe reply: mst: "Re: How Do You Change a Directory Name Without 'mv'?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|