- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why doesn't it work when I issued the command:...
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
04-24-2002 10:03 PM
04-24-2002 10:03 PM
Why doesn't it work when I issued the command: sh dir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 10:08 PM
04-24-2002 10:08 PM
Re: Why doesn't it work when I issued the command: sh dir
Because there is no such command ... as far as I can see there are a couple of c header files available (#man dir) but there is no actual command / executable.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 10:12 PM
04-24-2002 10:12 PM
Re: Why doesn't it work when I issued the command: sh dir
I guess you want to change directory
use
#cd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 07:32 AM
04-26-2002 07:32 AM
Re: Why doesn't it work when I issued the command: sh dir
Are you trying to sh the contents of the directory?
If so, cd into the directory and do:
for i in *
do
sh $i
done
HTH
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 08:27 AM
04-26-2002 08:27 AM
Re: Why doesn't it work when I issued the command: sh dir
permissions on a directory may say execute, but on directories this has a quite different meaning than a file! Bit 1 on a directory allows a change directory.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 08:33 AM
04-26-2002 08:33 AM
Re: Why doesn't it work when I issued the command: sh dir
Are you trying to excute a directory , or files under it . You cannot excute a directory. All you do
cd /directory name and excute the file or say sh /test/
Manoj Srivastava