how to tell if a file is outputing to STDOUT or STDERR?
hi im wondering about STDOUT or STDERR i have a file that outputs to the scren but i want to know if its STDOUT or STDERR..
thanks |
???
program option1 opiton2 > filename.txt |
program 1>stdout.log 2>stderr.log
then examine the logs |
program 1>stdout.log 2>stderr.log
then examine the logs when i do this i get the following error -bash: stdout.log: Permission denied |
when i cat stderr.log i get
-bash: mystery: command not found |
For the first error it looks like your disk is read only.
I think we need more details. What exactly is the cmd you are issuing? Show the ownerships/perms ie 'ls -l' What distro & version? Show contents of /etc/mtab & say which disk you are on. Which user are you running it as? |
All times are GMT -5. The time now is 09:09 PM. |