shell usage (syntax) question

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


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list