- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I am not able to cd into directory "New Folder...
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
Discussions
Discussions
Forums
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
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
тАО05-29-2009 04:35 AM
тАО05-29-2009 04:35 AM
I am using HP-UX 11.00.
I am not able to open a folder "New Folder".
Ex:
root@lgapps:/emd/home > ll -d New*
drwxr-xr-- 2 4ep7i8 dd 96 May 28 12:01 New Folder
root@lgapps:/emd/home > cd New Folder/
su: cd: The specified substitution is not valid for this command.
Actually we have shared "/emd/home" thru samba.
So the users are creating folders in this name.
Note : I am able to open from windows.
But i am not able to open from HP-UX 11.00 server.
How to solve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 04:45 AM
тАО05-29-2009 04:45 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
Check directory permissions.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 04:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 04:48 AM
тАО05-29-2009 04:48 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
You shot your own fooT! One of the dumbest things Windows does is to allow spaces in file names!!!
You have made your life miserable by creating a directory with spaces in its name.
And, by the way, it's a _directory_ NOT a _folder_ in our world!
I suggest you remove the directory and recreate it without spaces:
# rmdir "New Folder"
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 04:54 AM
тАО05-29-2009 04:54 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
Thats what I believe, the
Once I too did the same in Linux and wondered for hours about what's wrong. !!
As said above, delete or rename it. (Use double quotes to do this).
And always use underscores between words.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 04:54 AM
тАО05-29-2009 04:54 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
Try this
#cd New\ Folder
New\(give space)Folder
Regards
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 07:19 AM
тАО05-29-2009 07:19 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
You can also rename it by following
procedure.
To find inode no:
ls -i
then rename it by following command
find . -xdev -inum
Hope this will help.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 12:48 AM
тАО05-30-2009 12:48 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
Shouldn't you let senthil recover the files there first? ;-)
You would want to use mv to at least give it a name to check:
mv "New Folder" New_Directory
(I also fixed the terminology. ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 04:26 AM
тАО05-30-2009 04:26 AM
Re: I am not able to cd into directory "New Folder" in HP-UX 11.00
> Dennis >JRF: I suggest you remove the directory and recreate it without spaces: Shouldn't you let senthil recover the files there first? ;-)
Sure, but of course he won't be able to use 'rmdir' unless the directory is empty, so if not, I assumed (bad thing) that he would handle the entities therein :-))
Regards!
...JRF...