- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: bdfmegs ver 6.1 available: interpreter "/usr/b...
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
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
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
09-15-2014 11:49 AM - edited 09-15-2014 11:51 AM
09-15-2014 11:49 AM - edited 09-15-2014 11:51 AM
Re: bdfmegs ver 6.1 available: interpreter "/usr/bin/sh" not found
>> interpreter "/usr/bin/sh" not found
Although you can't see it, there is probably ^M at the end of every line. This is a very common problem between Windows and Unix systems. When you transferred the script from your PC to the HP-UX system, you probably used ftp and did not choose the ASCII transfer method. Windows adds an extra character to the end of every line (ctrl-M or carriage return). You can fix this in two ways:
1. Transfer the file again using ftp but select ASCII rather than BINARY as the transfer method,
2. Use dos2ux like this:
cd /directory_with_bdfmegs dos2ux bdfmegs > bdfmegs.fix mv bdfmegs.fix bdfmegs
Now it will run correctly.
I have attached the latest version (6.4).
New features:
-- Handles up to zettabytes (kilo mega giga tera peta etta zetta)
-- Identifies read-only filesystems with "*"
-- Added -D to allow stdin piped into bdfmegs. This is used when you have a text file or email message with plain bdf and you want to reformat it with bdfmegs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2014 06:10 AM
09-16-2014 06:10 AM
Re: bdfmegs ver 6.1 available: interpreter "/usr/bin/sh" not found
Thanks again for the share, Bill.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2014 02:29 AM
09-24-2014 02:29 AM
Re: bdfmegs ver 6.1 available: interpreter "/usr/bin/sh" not found
- « Previous
-
- 1
- 2
- Next »