shell usage (syntax) question

Emanuel Strobl Emanuel.strobl at gmx.net
Sat Aug 27 13:25:44 GMT 2005


Hello,

how can I delimit a program parameter from a shell instruction?
Example: I want to tell the shell that stderr should be redirected to 
file /tmp/test, not cpio to use /file/test:

# /usr/bin/cpio -idmuv < /dev/ad0h 2> /tmp/test

This doesn't work, I guess cpio grabs the ">". How can I write it that the 
shell sees the ">"? (sh, but also interesting for csh)

Thanks in advance!

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050827/ae0e1eb4/attachment.bin


More information about the freebsd-questions mailing list