Shell : quick newb question - redirecting to file

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Tue Jul 12 11:37:06 UTC 2005


> However, strace has a perfectly good option for sending its output to a
> file, so just use that 
> 
> strace -o ~/yelp.strace yelp
> 
> -- 
> Colin Watson


Ah ah, thanks Colin, your a star as usual ! :-) And thanks to everybody
else who explained a bit all this std* stuff... not easy, I will have to
look at it more closely someday...

I read the man page of strace and I found another lovely option : -e
trace=file 

Since Yelp must get all its menu entries from some file, I thought it
would help tracking these particular system calls, and it worked pretty
well, the log file is full of file related calls !

All these little CLI tools are incredibly useful, if you just spend 2
minutes checking the man page ! :-)

I will see what I can find in the log file to try to sort it myself, if
not, I will attach the file to the bug report and see if it inspires
Sébastien  ;-)


--
Vince





More information about the ubuntu-users mailing list