Directory name completion

g geleem at bellsouth.net
Tue Jun 21 15:52:39 UTC 2011


On 06/21/2011 12:14 PM, Patrick O'Callaghan wrote:
> There's a specific directory on my system, let's call
> it /some/long/path/foobar, that I visit a lot, so it's a bore to have to
> type the full pathname so often. The parent directory (/some/long/path)
> is a component in CDPATH so I can just type 'cd foobar' and all is good.
<snip>

then consider an alias;

  alias cdfb='cd  /some/long/path/foobar'

now, a simple cdfb will put you there.

i have used such aliases for long path directories for years and it has
always worked.


hth.

-- 

peace out.

tc.hago,

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
The installation instructions stated to install Windows 2000 or better.
So I installed Linux.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110621/4e3d699f/attachment.bin 


More information about the users mailing list