HPE GreenLake Administration
Operating System - HP-UX
1832058
Members
3128
Online
110034
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
04-23-2001 03:11 AM
04-23-2001 03:11 AM
How do I
Hi,
Can someone tell me how I redirect STDOUT and STDERR for a process (such as cpio). I have used
|cpio -oB > /dev/rmt/0m 2>
to redirect STDOUT, is it possible to redirect STDERR too, but possibly to a different place ?
Also can you reccomend any good books for a UNIX newbie in which i would find out such things.
Thanks
Can someone tell me how I redirect STDOUT and STDERR for a process (such as cpio). I have used
to redirect STDOUT, is it possible to redirect STDERR too, but possibly to a different place ?
Also can you reccomend any good books for a UNIX newbie in which i would find out such things.
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2001 03:23 AM
04-23-2001 03:23 AM
Re: How do I
On the books side of things:
Any of the O'Reilly series of books are excellent, the "Learning The Korn Shell" one is top notch (ISBN 1-56592-054-6). Lots of shell prog stuff in there.
Your I/O file descriptors are :
stdin 0
stdout 1
stderr 2
Outputing stdout and stderr to different places might be done with :
2> stderrfile 1> stdoutfile
(I'm open to correction on this!!!)
Any of the O'Reilly series of books are excellent, the "Learning The Korn Shell" one is top notch (ISBN 1-56592-054-6). Lots of shell prog stuff in there.
Your I/O file descriptors are :
stdin 0
stdout 1
stderr 2
Outputing stdout and stderr to different places might be done with :
(I'm open to correction on this!!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2001 04:44 AM
04-23-2001 04:44 AM
Re: How do I
You should do like this:
|cpio -oB > /dev/rmt/0m 1> file.out 2> file.err
federico
federico
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP