- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Directory with control charecters
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
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
тАО07-23-2005 06:10 AM
тАО07-23-2005 06:10 AM
I have a system with one directory INS*. I have put * because i don't know what are the letters there. I can see only INS if I list the directories. If I do ls -R, it will show the files in the directory. If I do cd /INS it will say that no directory found. I am super user and permission set is 744. Do any one has idea how we can access this directory? I cannot use cd /INS'esc'esc' or cd INS* because there is mounted filesystem with the name INSTALLER.
Thanks and regards
Jino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 06:37 AM
тАО07-23-2005 06:37 AM
Re: Directory with control charecters
#mv "NIS*" NIS
this will call the directory NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 06:38 AM
тАО07-23-2005 06:38 AM
Re: Directory with control charecters
put
# mv "INS*" INS
as mentioned this will rename the direcotry as you do not want to call a directory with regular expressions.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 06:41 AM
тАО07-23-2005 06:41 AM
Re: Directory with control charecters
do you care for what is in this directory that you do not know anything about ??
If not, you can safely remove this directory by doing a
rmdir -i IN*
and when prompted for INSTALLER say n
for others say y
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 06:52 AM
тАО07-23-2005 06:52 AM
Re: Directory with control charecters
My problem is that I cannot remove the files inside that. Otherwise I would have removed already. I need to see what is the content of the files which are inside. That is my problem.
I think my problem is clear now.
Thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 07:26 AM
тАО07-23-2005 07:26 AM
Solution-b List nonprinting characters in the octal \ddd notation.
access it using
ls INS?
(this will work unless some directory like INS1 exists, but the 'INSTALLER' won't interfere ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:13 AM
тАО07-23-2005 09:13 AM
Re: Directory with control charecters
ls -b is showing foloowing output on that directory. Could you just explain?
#ls -b
output: INS\003\003.
But if I do cd INS\003\003 it says no directory found. Do I need to convert this 003\003 to some other format? If so how?
The other option you told with "?" is not working.
thanks and regards,
Jino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:21 AM
тАО07-23-2005 09:21 AM
Re: Directory with control charecters
After using ls -lb you know that there are two additional characters in the directory name. Now you can use
mv INS?? INS
in order to rename the directory or cd INS?? in order to access it.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:57 AM
тАО07-23-2005 09:57 AM
Re: Directory with control charecters
Thanks florian and victor..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:59 AM
тАО07-23-2005 09:59 AM
Re: Directory with control charecters
I agree with the solution above from Victor
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:59 AM
тАО07-23-2005 09:59 AM