- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command line 256 characters
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
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
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
тАО06-13-2003 12:47 AM
тАО06-13-2003 12:47 AM
Command line 256 characters
On my terminal window, cutting and pasting to make a command line more than 256 characters seems to accept it, but beeps for every character over 256 and only executes the first 256 characters.
However, echo * | wc -c can report a value MUCH bigger than 256 characters, and I am sure the shell line length is colossal in 11.11i.
There is a $(SHELL) variable in the Makefile which I have set to /usr/bin/ksh to make sure it's not using /bin/sh, which may have different limits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 01:04 AM
тАО06-13-2003 01:04 AM
Re: Command line 256 characters
did you try splitting the line with a "\" at the end, every 200 characters or so ?
I overcomed the same problem with this trick many times.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 02:01 AM
тАО06-13-2003 02:01 AM
Re: Command line 256 characters
Refer to the following link ..
Handle Too-Long Command Lines with xargs
http://linux.oreillynet.com/pub/a/linux/lpt/09_21.html
Regards,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 02:09 AM
тАО06-13-2003 02:09 AM
Re: Command line 256 characters
I used to come across this problem with vgimports and vgcreates with lots of disk device files.
the best way to do it is in your makefile:
cc -o $OPTIONS -o2 $OPTIONS2 -o3 $OPTIONS3 -o4 $OPTIONS4
or something like that..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 03:10 AM
тАО06-13-2003 03:10 AM