Re: how to enter a folder named "a a"




Try this:

/tmp # mkdir '"a a"'
/tmp # ls ?a?a? -d
"a a"
/tmp # cd "a a"
-bash: cd: a a: No such file or directory
/tmp # cd '"a a"'
/tmp/"a a" # pwd
/tmp/"a a"
/tmp/"a a" # cd ..
/tmp # rmdir ?a?a?





Am 28.03.2006, 15:37 Uhr, schrieb ti1242350 <l.yi@xxxxxxxxxxxxxxxxxx>:

I create a folder named "a a" in GUI
how to enter this folder in console using cd command?

I tried in many ways all failed
1.cd "a a"
2.aaa="a a"
cd $aaa
3.cd \\\"a a\\\"



.



Relevant Pages

  • Re: [PATCH 1/3][BUGFIX] configfs: Introduce configfs_dirent_lock
    ... i_mutex lock free detach_prep, but nothing that can't be fixed;) ... Between detach_prepin A and mkdir() in a default group A/B: ... but attach_groupmay then fail (because of memory ... lead to both mkdirand rmdir(A) failing, ...
    (Linux-Kernel)
  • Re: How do I unlock a file ? / SOLVED !
    ... Isn't "rmdir" the command to remove a directory ??? ... Smoot Carl-Mitchell ... That overlooked "dot", a first time experience for me, and especially ...
    (Ubuntu)
  • Re: mkdir in wshshell.run
    ... doesn't exist, using the mkdir command. ... The script issues this simple ... Is it not finding the "mkdir" executable? ... The Right-click menu is accomplished with the following registry ...
    (microsoft.public.scripting.vbscript)
  • Sftp logs
    ... all logit function call should appear in my AUTH facility log ... I wanted to be able to see the following lines (mkdir, rmdir, etc..) ...
    (comp.security.ssh)
  • Re: [PATCH 1/3][BUGFIX] configfs: Introduce configfs_dirent_lock
    ... Between detach_prepin A and mkdir() in a default group A/B: ... but attach_groupmay then fail (because of memory ... lead to both mkdirand rmdir(A) failing, ... lock dirent_lock for the whole lookupduration, ...
    (Linux-Kernel)