- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change directory to dvd fails
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 04:01 PM
02-27-2008 04:01 PM
I am little bewildered with what I am seeing. I create a directory dvd. When I run "ls" I see this directory:
drwxr-x--- 2 name group 96 Feb 27 15:52 dvd
I am the owner so I expect to atlease be able to change the directory. When I try to run "cd ./dvd" I get "sh: dvd: not found.".
Then I run rm -rf ./dvd. It runs successfully but when I run "ls". I still see dvd directory.
I also tried cd dv*, cd d* etc.
Is dvd reserved keyword or something ? Why am I not able to cd to this directory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 04:15 PM
02-27-2008 04:15 PM
Re: change directory to dvd fails
dvd is not a reserved word.
If you have file system mounted on the directory dvd that would explain the behavior.
bdf, cd out of there maybe umount it
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 04:15 PM
02-27-2008 04:15 PM
Re: change directory to dvd fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 05:02 PM
02-27-2008 05:02 PM
Re: change directory to dvd fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2008 10:51 PM
02-27-2008 10:51 PM
Re: change directory to dvd fails
Can you rename the directory and then try the cd? (I assume it will still fail.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 08:06 AM
02-28-2008 08:06 AM
Re: change directory to dvd fails
$ mv dvd dv1
mv: dvd: cannot access: No such file or directory
This directory has sufficient permissions
When I do find . -name "dvd" It returns with no results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 08:09 AM
02-28-2008 08:09 AM
Re: change directory to dvd fails
Also, what's more interesting is I again created dvd and this time I was able to cd to it.
I don't really understand what happened at that time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2008 12:13 PM
02-28-2008 12:13 PM
Re: change directory to dvd fails
Pete is right. You should have used "-b"
flag to check directory name for
unprintable characters:
ls -alsb
That is flag I always teach in Unix classes
as students get bitten by this problem once in
a while.
Older versions of Ignite would occasionally
report errors when finding file and
directory names with unprintable characters.
Cheers,
VK2COT