buildworld via ssh

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Dec 23 10:12:11 PST 2004


lists wrote:
> I did a 'make -DNOCLEAN buildworld 2>&1 blah.txt &' and it didnt work as I
> would have expected.
> It spaced it out when I looked at the processes like this
> make -DNOCLEAN buildworld 2 > & 1 blah.txt &
> So, it tried to also tried to "make 2" and failed and wrote the output to a
> file named "1"
> A redirect like this works on BSDi, not sure why it didn't in this case on
> FreeBSD5.2
> Am I doing something wrong?

You're typing commands using Bourne shell syntax but you're actually 
running tcsh(1).  For Csh-alikes like tcsh, the command would be:

     # make -DNOCLEAN buildworld &> blah.txt &

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                       School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 372 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041223/bcffd025/signature.bin


More information about the freebsd-questions mailing list