J'ai un problème en utilisant bash. Simplement, je ne peux pas trouver le bon de commande (si il y en a un!) D'entrer dans le "
- Arch_02 --"Directory. Comme vous pouvez le voir, le nom commence par un trait d'union et que cela cause certains problèmes:
Code:
localhost arch2 # pwd
/mnt/arch2
localhost arch2 # ls -l
total 4
dr-x------ 1 root root 4096 2007-04-29 20:09 - Arch_02 -
dr-x------ 1 root root 0 2006-12-10 18:14 RECYCLER
dr-x------ 1 root root 0 2006-12-02 22:24 System Volume Information
localhost arch2 # cd -\ Arch_02\ -
bash: cd: - : invalid option
cd: usage: cd [-L|-P] [dir]
localhost arch2 # cd "- Arch_02 -"
bash: cd: - : invalid option
cd: usage: cd [-L|-P] [dir]
localhost arch2 # cd '- Arch_02 -'
bash: cd: - : invalid option
cd: usage: cd [-L|-P] [dir]
localhost arch2 # cd - -\ Arch_02\ -
/root
localhost ~ # cd /mnt/arch2
localhost arch2 # cd - "- Arch_02 -"
/root