cool, thanks for the tips and explanations, guys. -- christopher
On Saturday 23 November 2002 03:20 am, Cameron Simpson wrote: > On 16:03 22 Nov 2002, christopher j bottaro <[EMAIL PROTECTED]> wrote: > | cuz there is no tab completion in the KRunCommand dialog...=) > | > | so its, /usr/local/bin/whatever 2>&1 /dev/null > | > | hehe, now can anyone explain the syntax? it looks like its read > | "redirect 2 and 1 to /dev/null" where 2 is stderr and 1 is stdout? > > Yes, but your syntax is wrong. You want this: > > /usr/local/bin/whatever >/dev/null 2>&1 > > which says:send stdout (1, which is implicit before ">") to /dev/null, and > then send stderr (2) to the same place you sent stdout. > -- > Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ > > ... in '59 I ran out of brakes *four times* -- and I don't mean they didn't > work very well, I mean I had none. Like the main oil line had sheared. > You know, so that oil, you know, when you put your foot on the floor, the > oil just went squirting out into the atmosphere. Things like that. You > know, I'd always believed that Colin was close to genius in his design > ability and everything -- if he could just get over this failing of his of > making things too bloody light. I mean, Colin's idea of a Grand Prix car > was it should win the race and, as it crossed the finishing line, it should > collapse in a heap of bits. If it didn't do that, it was built too > strongly. - Innes Ireland -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list