hpw can i see STDERR content?

bono056

Joined
Jan 19, 2010
Messages
70
Likes
0
Points
0
#1
i wonder how can i see STDERR content? is it a file inside server that i can open it text editor? or just something like a session o variable? if it is how can i print it on CLI?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
It is indeed a file inside the server, but it is a "special" file that will normally output to the console in which the process is running, if you want to redirect stderr to a file add the following

2> <somefilename>

at the end of whatever you want to redirect

ref:

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
 

bono056

Joined
Jan 19, 2010
Messages
70
Likes
0
Points
0
#3
when i should call this? after dialplan end?
i run this command, but created file is empty.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top