Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. juergenw

    Exit status of cpio under sco os 5.0.x

    When using the following command line under sco os 5.0.x cpio gives exist status 0 (no error) although errors occured during the backup. When doing the same under AIX 4.x cpio gives a correct exit status (<>0) back. Does anybody know this problem? 15$ find . |cpio -ocvB > /dev/rStp0 . .profile...
  2. juergenw

    Newbie help needed:moving spooled printer

    What kind of printer spooler interface is used for this spooled printer (/usr/spool/lp/admins/lp/interfaces) - look for the file with queue name.
  3. juergenw

    C shell & Korn Shell scripting

    try http://www.sunworld.com/swol-08-1997/swol-08-unix101.html hope, it's what you're looking for.
  4. juergenw

    catch stdout and stderr of cpio

    Your right with your suggestion, Gary. I want to have stderr messages in one logfile because it's much more easy if a customer has backup problems to have just one look in one errorlog file than having a look through complete stdout (2>&1) of the backup. And with several hundreds of unix-servers...
  5. juergenw

    catch stdout and stderr of cpio

    ok. I haven't used pax before, but after having an eye on several manuals it seems to me, that pax is not able to backup a list of files coming from an find f.e. find . \( \! -name &quot;*.d*&quot; \! -name &quot;*.b*&quot; \! -name &quot;*.lk&quot; \! -name &quot; lbi*&quot; \! -name...
  6. juergenw

    catch stdout and stderr of cpio

    Thank you but it doesn't work, I asume syntax &quot;>& /file/for/stderr&quot; is for csh/tcsh (see http://www.ifa.au.dk/prot/computer/ifacm/sec311.htm). So I changed it as discribed to &quot;prog > file 2>&1&quot; for ksh. ( find . | cpio -ocvB > /dev/rmt0 > /usr1/jwt/stdout) > /usr1/jwt/stderr...
  7. juergenw

    catch stdout and stderr of cpio

    Thank your for answering, but it doesn't work. Here's what happens: After the start of the cpio no output is displayed on the screen. Although an error should occur (uid of file htpr > 65535), file stderr is empty and the content of file stdout is not just, what normally is displayed from cpio...
  8. juergenw

    catch stdout and stderr of cpio

    Hello, I try to catch stderr and stdout from the cpio command (AIX 4.1.5.0 and sco openserver 5.0.5). When trying find . -print | cpio -ocvB > /dev/rmt0 2>errorlog cpio using the verbose mode and put stderr in errlog file no displays of the cpio are made on the screen but in the errorlog file...

Part and Inventory Search

Back
Top