- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I display a directory beginning with &
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
тАО07-27-2009 03:24 AM
тАО07-27-2009 03:24 AM
drwxrwxr-x 2 Tech UserGT 794624 Jul 27 12:21 &KLCTEST&
If I just type cd &KLCTEST&
I get directory not found?
How can I go into this directory please?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:39 AM
тАО07-27-2009 03:39 AM
Solutioncd \&KLCTEST\&
or
cd '&KLCTEST&'
Another way is to use wildcards:
cd ?KLCTEST?
The question mark is the wildcard for "insert any one character here". The shell will expand the wildcards before executing the command. If there is only one matching name, the command will run successfully.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:45 AM
тАО07-27-2009 03:45 AM
Re: How can I display a directory beginning with &
Try below one.
cd "&KLCTEST&"
Hope this will help
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:47 AM
тАО07-27-2009 03:47 AM
Re: How can I display a directory beginning with &
I was actually troubleshooting my script when I came across the reported error.
dir="/home/users/brown/\&KLCTEST\&"
How can I make this assignment work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:51 AM
тАО07-27-2009 03:51 AM
Re: How can I display a directory beginning with &
now try
dir=="/home/users/brown/&KLCTEST&"
Heope this will work
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:53 AM
тАО07-27-2009 03:53 AM
Re: How can I display a directory beginning with &
Please ignoe the previous one, having typo error.
try below one.
dir="/home/users/brown/&KLCTEST&"
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:55 AM
тАО07-27-2009 03:55 AM
Re: How can I display a directory beginning with &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 03:58 AM
тАО07-27-2009 03:58 AM