passing the output of modprobe to a file
I'm trying to get the output of the modprobe command to a file, I'm trying like this: # modprobe fglrx > fgl.txt, but the fgl.txt files is empty. My question is: how can I get the output of modprobe to fgl.txt ?
Regards |
If modprobe succeeds in its action, there's no output to send to a file. You can use the -v "verbose" option to make it tell you what it's doing.
|
To add to this, its error output will got to stderr, not stdout. You could use this to capture the error output as well:
Code:
modprobe fglrx > fgl.txt 2>&1 |
All times are GMT -5. The time now is 05:08 PM. |