How can I abbreviate /cygdrive/DRIVELETTER ?

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Jan 16 18:14:00 GMT 2003


On 2003年1月16日 svartsjel@gmx.net wrote:
> Hi everyone!
>> As I often access different drives from within the bash I'm wondering if
> there's a quicker way to get on, say, drive l (a network drive) than entering
> 'cd /cygdrive/l'?
> I alias'd '/cygdrive/l' to 'l' which works fine for cd, but not for commands
> like chmod, cp, mv etc. Among others I'd like to use the automatic command
> line completion which doesn't work for /cygdrive/... either.
> Any suggestions?
>> Best wishes,
> Svartsjel

Try
$ mkdir /l
$ mount l:/ /l
for details, "man mount".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
 |\ _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_		igor@watson.ibm.com
 |,4- ) )-,_. ,\ ( `'-'		Igor Pechtchanski
 '---''(_/--' `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
 -- /usr/games/fortune
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /