i have a directory name with ISO&Emulator having some Important Files. and this directory is in different partition, and partition not showing in my FileManager(Nautilus). so i mount my partition and access it from terminal, but i can't get into directory because of its name.
when i tried to change directory:
cd ISO&Emulator
result:
[1] 1635
bash: Emulator: command not found
bash: cd: ISO: No such file or directory
[1]+ Exit 1
its taking directory name as a command.
any ways for access this directory from terminal?
how to fix this?
Best Answer
You should quote the file or directory name, that contains special characters, when you using it:
Or escape (or quote) just the special character:
In most cases you can use the auto-completion function:
Recently I found a nice answer, provided by @MartinThornton, that describes how to bind PgUp and PgUp to Select a particular result from completion suggestions.
See also: How to make tab completion append slash for directory symlinks?
Unlike the single quote marks the double quote marks are applicable when the name contains a variable: