displays the time it took to run myprog on the screen. Now i would like to write this information to a text file.
Without a path
Edit: I should have tested this!
Kees is very correct.
Same principals as before exist. If you want gedit to load after this, wump on
If your command is very noisy and you just want the times, you could run the output through
To just save it to a file just do this:
You don't need the
If you want this showing up in gedit specifically, you need to save it to a file and then open it in gedit. I can't see a way of piping the text directly into gedit without saving it first.
|show 2 more comments|