Re: confused with BASH shell in Redhat
From: Davorin Vlahovic (A-Burn_at_fly.srk.fer.hr)
Date: 08/22/03
- Next message: David: "An Open Letter to Darl McBride"
- Previous message: TP: "ADSL&USB on RedHat9.0"
- Maybe in reply to: icpborxj_at_glnrat.com.vr: "Re: confused with BASH shell in Redhat"
- Next in thread: Bill Unruh: "Re: confused with BASH shell in Redhat"
- Reply: Bill Unruh: "Re: confused with BASH shell in Redhat"
- Reply: mkhfhm_at_xtltzp.com.qy: "Re: confused with BASH shell in Redhat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 22 Aug 2003 21:11:24 +0000 (UTC)
In article <bi50pu$1pm6$2@mail.cn99.com>, Ka wrote:
> I tried download a file with ncftpget,
> and then the dir name is "-=New Game=-"
>
> ls -al
>
> drwxr-xr-x 3 root root 4096 Aug 22 19:19 -=New Game=-
>
> so, now I can not use command cd and du, :-((
> I am confused with Bash, why ?
> the shell expands my input, if I use key "tab", as following:
>
> [root@mail ]# cd -\=New\ Game\=-/
> bash: cd: illegal option: -=
> cd: usage: cd [-PL] [dir]
>
> and if I add "\" to transfer the "-" symbol like:
>
> [root@mail ]# cd \-\=New\ Game\=-/
> bash: cd: illegal option: -=
> cd: usage: cd [-PL] [dir]
cd "-=New Game=-"
or
cd '-=New Game=-"
I think both should work. But, the second one will definitely work.
-- Dammit, how many times do I have to tell you? FIRST you rape, THEN you pillage!!
- Next message: David: "An Open Letter to Darl McBride"
- Previous message: TP: "ADSL&USB on RedHat9.0"
- Maybe in reply to: icpborxj_at_glnrat.com.vr: "Re: confused with BASH shell in Redhat"
- Next in thread: Bill Unruh: "Re: confused with BASH shell in Redhat"
- Reply: Bill Unruh: "Re: confused with BASH shell in Redhat"
- Reply: mkhfhm_at_xtltzp.com.qy: "Re: confused with BASH shell in Redhat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|