- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Quite mode for hp unix script 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
02-02-2004 09:02 AM
02-02-2004 09:02 AM
Quite mode for hp unix script command
root@alpha:/home/jwang3> script
Script started, file is typescript
Is there anyway I can suppress this line of prompt? I know in Linux you can achieve with
script -q.
Where I can download the source file to delete this prompt and re-compile it. Can I use some existing binary file to achieve this or just simply take another unix flavor version of script to run?
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 09:08 AM
02-02-2004 09:08 AM
Re: Quite mode for hp unix script command
script >/dev/null 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 09:11 AM
02-02-2004 09:11 AM
Re: Quite mode for hp unix script command
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 09:13 AM
02-02-2004 09:13 AM
Re: Quite mode for hp unix script command
2) I doubt that you'll be able to download the source for this as HP is *VERY UNLIKELY* to release this.
3) A version of the script command from another version will not work. Executables are almost never compatible between different flavors of unix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 10:00 AM
02-02-2004 10:00 AM
Re: Quite mode for hp unix script command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 10:05 AM
02-02-2004 10:05 AM
Re: Quite mode for hp unix script command
If you do:
$ script -a file
You will get the prompt back! The only reason I can think of that you might not get the prompt back is if you are trying to write to an NFS mounted filesystem and you are having NFS trouble. Otherwise you should get the prompt back and be able to do whatever you need to do.
script will record everything you do until you type 'exit' and exit the script sub-shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 05:49 PM
02-02-2004 05:49 PM
Re: Quite mode for hp unix script command
But I guess you could search the linux or BSD sources for the source of script. I see no reason it should not work on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:22 AM
02-04-2004 02:22 AM
Re: Quite mode for hp unix script command
I tried to search but got no luck. Is there any link or location you can recommend? Thanks for the help.