LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-27-2004, 07:20 AM   #1
rawii
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
Question redirecting cpio screen output to file


I have a backup script that works but I can't seem to get the output from the cpio command to go to a file.

cpio -ov -H odc <${file_list} | rsh prod dd of=/dev/rmt/0 obs=128k >> ${buday}

The commands above and below this line are redirecting the output correctly.
 
Old 02-11-2004, 09:28 AM   #2
alazar
LQ Newbie
 
Registered: Feb 2004
Location: Connecticut
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
you probably want:

(cpio -ov -H odc <${file_list} | rsh prod dd of=/dev/rmt/0 obs=128k) >> ${buday}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting socket output to a file elmafiacs Programming 1 10-15-2005 05:18 AM
Redirecting colsole output to file. danimallv Linux - General 4 07-05-2005 02:44 PM
why when redirecting output to a file any file extension seems to be fine? dr_zayus69 Linux - General 1 05-21-2005 04:09 AM
redirecting output of compile to a file halfcan Linux - Hardware 1 02-05-2005 10:01 PM
output from cpio won't redirect to file rawii Programming 5 01-27-2004 01:49 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration