Re: UDEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 	I used strace -o gm.txt gmfsk | grep xxxx but the grep did not work but
> I got the whole mess saved in gm.txt now. But Nigel had a better idea
> and his works...

Hmm, well in this case you are redirecting the strace output to file, so the 
grep command has nothing to work from from the pipe. ! 

Either

> strace -o gm.txt gmfsk
> grep xxx gm.txt 

or as I said in a previous post

 >  strace gmfsk 2>&1 | grep xxx

here, the 2>&1 redirects the stderr to stdout, so it is then seen by the pipe 
(|) and grep commands

Chris


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux