Linked Questions

34
votes
4answers
485k views

How to write the path of a folder with space in its name? [duplicate]

I can't figure out how to write the path of a folder that includes spaces in its name (in Terminal). I tried: cd /path/path/path/"A Folder"/file cd /path/path/path/'A Folder/file cd /path/path/...
29
votes
2answers
169k views

How do I navigate to folders with spaces in their names? I get “no such file or directory” when I try [duplicate]

I'm completely new and lost in Ubuntu 12.04, I'm having trouble navigating to my Sublime folder which I know is in my /opt folder. Yet I've tried to no avail to navigate into it via Terminal window. ...
12
votes
5answers
2k views

Using cd command to navigate directories in Ubuntu which have special characters [duplicate]

When I want to navigate into directories having special characters in their names I get an error message. For example: aman@desktop:~/Aman$ cd !)e$!gn&(reate bash: !: event not found aman@...
21
votes
2answers
40k views

How can I protect parentheses passed to a cd command? [duplicate]

I asked here how to make cd protect spaces. Tab completion is great, but sometimes you paste the path from the clipboard so this is useful. The solution breaks with parentheses however. No matter how ...
9
votes
2answers
51k views

How to access files/directories with spaces in the name? [duplicate]

Through terminal I can't access files or directories with a spaces in their names. The cd command says no such file or directory. Is there any way to do it or should I rename all files with spaces?
9
votes
2answers
735 views

using '&' in a directory name [duplicate]

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 ...
2
votes
3answers
727 views

How can I enter and also rename folders like ''Human (2012)''? [duplicate]

I am playing with FTP via the command line, and I get two problems. I am not able to rename or enter folders like: dir /home/folder1/Human (2012) I tried: cd ~/folder1/Human\ (2012) Here I receive ...
4
votes
2answers
359 views

Dealing with space in file links using bash [duplicate]

I got a problem. Here is my bash script to merge videos with subs: #!/bin/bash cd /media/ptrknvk/'TOSHIBA EXT'/Shows/My/'Doctor Who'/ url0='DW s11e0' url1='DW\ s11e' for(( i=1; i<11; i++ )) do ...
2
votes
2answers
876 views

cd to a directory has hash (#) [duplicate]

Well, I have few directories have name contains hashes (#, eg: #abczxy). Now I can't to execute this cd #foo it will redirect me back to the root directory equal with this command cd The question is, ...
3
votes
2answers
3k views

unzip unable to find file with spaces in file name [duplicate]

I'm a psychology student at the VU Amsterdam. For my statistic courses this software called IBM SPSS statistics is required andabsolutly neccesary. I bought it of the official website and downloaded ...
2
votes
1answer
14k views

cp: cannot stat: No such file or directory exists [duplicate]

Orienting myself with basic terminal commands (Ubuntu 16.04); I have a file listed in my Downloads folder; a Jupyter notebook file called, 'Indexing and Slicing.ipynb' and wish to copy the file to my ...
0
votes
1answer
3k views

How can I change directory on bash on Ubuntu on windows? [duplicate]

I cannot change directory like this I have a problem like this:
3
votes
1answer
2k views

“cd” into directory containg space in name [duplicate]

So I have been using Ubuntu for a few months now, and have come across a very noob terminal question. I want to go from home -> Documents -> My Programs I am able to get into my documents folder by ...
14
votes
0answers
3k views

How do I enter a file or directory name containing spaces or special characters in the terminal? [duplicate]

I have a collection of files and directories with strange names, they contain spaces and the special characters \, *, ), ( and ?. All of them cause problems when I try to use them in the command line ...
0
votes
1answer
982 views

Escape $ in password [duplicate]

How should I escape special characters in bash flyway info -url="jdbc:redshift://server_name/db_name?ssl=true&sslfactory=com.amazon.redshift.ssl.NonValidatingFactory" -password='$PROD_PASSWORD' ...

15 30 50 per page