Directory with space in Linux terminal

If you want to type a directory or file in linux terminal that contains the space character in it, type "\" right before (every) space.

cd /home/yournick/Videos/My\ Movies
or (for two spaces)
cd /home/yournick/Videos/My\ \ Movies

1 comments:

Anonymous said...

helpfull, thx

Post a Comment