HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Number or characters interpreted by kernel aft...
Operating System - HP-UX
1827760
Members
2734
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-28-2001 01:43 PM
02-28-2001 01:43 PM
Number or characters interpreted by kernel after #! in script
In regards to writing a script file(Perl or shell) on an HP 9000; the first line of a program declares the program/shell to use through the use of the "shebang" (#!). Various switches/flags/options can also be passed to the script to configure it on this line.
How many characters will the kernel interpret before it stops? I would like to know this answer for HP-UX 10.20 and HP-UX 11.X. I would appreciate a reference as well.
How many characters will the kernel interpret before it stops? I would like to know this answer for HP-UX 10.20 and HP-UX 11.X. I would appreciate a reference as well.
Computers are just external storage for my brain.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 08:31 PM
02-28-2001 08:31 PM
Re: Number or characters interpreted by kernel after #! in script
Hi,
From the exec(2) man page on a HP-UX 11.00 box,
If the initial line of the script file exceeds a system-defined maximum number of characters,
exec*() fails. The minimum value for this limit is 32.
I don't know what the "system-defined maximum number of characters" is but I would say that it is the same as the maximum number of characters on a command line.
--Bruce
From the exec(2) man page on a HP-UX 11.00 box,
If the initial line of the script file exceeds a system-defined maximum number of characters,
exec*() fails. The minimum value for this limit is 32.
I don't know what the "system-defined maximum number of characters" is but I would say that it is the same as the maximum number of characters on a command line.
--Bruce
www.stratech.com/training
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP