application redirect to file
i want to redirect application to file.
i m redirecting it by command konsole -e 'application name' >> applog.txt but it is not working. Please help..... |
Quote:
What happens if you just run: Code:
application >> applog.txt |
This worked for me
Quote:
mine was.. Quote:
|
Quote:
|
Some applications print using stderr instead of stdout.
You could try either: command 2>logfile or command >logfile 2>&1 The later will redirect stdout to a log file and redirect stderr to stdout. |
All times are GMT -5. The time now is 09:27 AM. |