How to get into cd into directory use double quotes as directory name
How to get into or cd into directory that use " double quotes as directory name.
The step by step below show the example how to get into or change directory into directory that use " double quotes as directory name. Sometimes when you put DVD disk or CD Rom disk inside the drives, the Fedora operating system automatically mount the CD or DVD to something like "FU 20090210 10 i386 DVD" inside the /media directory so that the full path look like /media/"FU 20090210 10 i386 DVD". When using the cd command to get into the double quotes directory you may get error... that say something like this "-bash: cd: /media/FU 20090210 10 i386 DVD: No such file or directory".
So ... we start with identify where the DVD or CD disk is mount on the system on step 1 and 2.... the rest is step to get into the double quote named directory...
1. Icon of Auto mount Fedora DVD disk on desktop.

2. View list of mounted filesystem in Linux Fedora system.
[root@fedora ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/fedora10/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=fedora10)
/dev/sr0 on /media/"FU 20090210 10 i386 DVD" type iso9660 (ro,nosuid,nodev,uhelper=hal,uid=500)
[root@fedora ~]#
3. Example of using cd command to cd ing into fedora DVD that use " double quotes nemed directory that result in error (unsuccessful).
[root@fedora ~]# cd /media/"FU 20090210 10 i386 DVD"
-bash: cd: /media/FU 20090210 10 i386 DVD: No such file or directory
[root@fedora ~]#
4. Then try this... Add single quotes on the directory name as show on example below


[root@fedora ~]# cd /media/'"FU 20090210 10 i386 DVD"'
[root@fedora "FU 20090210 10 i386 DVD"]#
5. Use pwd command and ls command to verify that you are successfully cd into double quote directory :-).. as shown on example below.
[root@fedora "FU 20090210 10 i386 DVD"]# pwd
/media/"FU 20090210 10 i386 DVD"
[root@fedora "FU 20090210 10 i386 DVD"]# ls
fedora.css
GPL
images
isolinux
Packages
README-BURNING-ISOS-en_US.txt
repodata
RPM-GPG-KEY-fedora
RPM-GPG-KEY-fedora-10-primary
RPM-GPG-KEY-fedora-i386
RPM-GPG-KEY-fedora-ia64
RPM-GPG-KEY-fedora-ppc
RPM-GPG-KEY-fedora-ppc64
RPM-GPG-KEY-fedora-primary
RPM-GPG-KEY-fedora-test
RPM-GPG-KEY-fedora-test-10-primary
RPM-GPG-KEY-fedora-test-i386
RPM-GPG-KEY-fedora-test-ia64
RPM-GPG-KEY-fedora-test-ppc
RPM-GPG-KEY-fedora-test-ppc64
RPM-GPG-KEY-fedora-test-primary
RPM-GPG-KEY-fedora-test-x86_64
RPM-GPG-KEY-fedora-x86_64
stylesheet-images
TRANS.TBL
[root@fedora "FU 20090210 10 i386 DVD"]#
If you have time to killl.. read more about quotes here...
Keywords: cd into quotes directory, quotes directory, get into double quotes directory, double quotes directory, cd into double quotes directory
- Add new comment
- 3663 reads
- Email this page
Thanks for Reading and Check Other Popular Linux Topics
All time:
- Configure and Setup Squid Cache Proxy Server on Fedora Core.
- Using Linux rm command to delete, remove hidden files and folder - Basic Linux Command.
- Copy Linux Files and Copy Directory Using cp Command - Linux Basic Command.
- Moving or rename files and directory using Linux mv command - Basic Linux Command.
- Add, view, edit and configure route and static route on Linux Fedora Core - Linux Server Configuration.
- Get and display the size of file and directory in Linux system using du command.
- Step by step Install Setup and Configure Linux Fedora Core Server and Network Management with Screen Shot and Example.
- Create file and display file contents in Linux using cat command.
- Configure Squid to block HTTP request to specific web sites.
- Example of samba smbpasswd file and samba smbusers configuration file.




Recent comments
7 hours 22 min ago
22 hours 44 min ago
2 days 14 hours ago
4 days 19 hours ago
5 days 4 hours ago
5 weeks 3 days ago
9 weeks 3 days ago
14 weeks 1 day ago
14 weeks 1 day ago
14 weeks 6 days ago