11-06-2009
Quote:
Originally Posted by
incredible
use the dmesg command
This shows the last lines of the message file but doesn't kind of redirect its output as the OP asked for.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My supervisor keep getting "stdin not tty" or something like that when he pipe or redirect input into a program. Others
don't seem to get this message. Is there some way I can help him to fix or turn this off?
Thx in advance (1 Reply)
Discussion started by: Micz
1 Replies
2. UNIX for Advanced & Expert Users
Hi people,
i tried to search in the forum... but didnt found the answer...
Sometimes i need to send a console message to all users in all tty, like reboot or shutdown does...
But i cant find how to do that.
Someone know?
Thanks a lot (2 Replies)
Discussion started by: gfca
2 Replies
3. Shell Programming and Scripting
I'm trying to write a python wrapper around wget to show the progress bar on a gui application. Wget gives you a progress bar on command line, but how would I pipe that to some "tty" that's really just a variable I read, or am I going about it all wrong? When I try to just redirect the output to a... (1 Reply)
Discussion started by: unclecameron
1 Replies
4. AIX
Hi,
What is the diference between these two ?
thanks
Vilius (3 Replies)
Discussion started by: vilius
3 Replies
5. Solaris
anyone have any success with redirecting the console running sol10 x86 on a hp dl365? (0 Replies)
Discussion started by: pupp
0 Replies
6. Shell Programming and Scripting
How to redirect the output to multiple files without putting on console
I tried tee but it writes to STDOUT , which I do not want.
Test.sh
------------------
#!/bin/ksh
echo "Hello " tee -a file1 file2
----------------------------
$>./Test.sh
$>
Expected output:
-------------------... (2 Replies)
Discussion started by: prashant43
2 Replies
7. Shell Programming and Scripting
Hi
can anyone tell me how to redirect the ouput of a cvs command to a file as well as the console?
i tried using
cvs add <filename> | tee logFile
cvs add <filename> 2>logFile 2>&1
All i could get is only on console or on file.
Please help
Thanks (2 Replies)
Discussion started by: ankitag2010
2 Replies
8. Shell Programming and Scripting
Hi,
I'd like to redirect the STDOUT output from my script to a file and simultaneously display it at a console.
I've tried this command:
myscript.sh | tail -f
However, it doesn't end after the script finishes running
I've also tried this:
myscript.sh | tee ~/results.txt
But it writes... (3 Replies)
Discussion started by: wenclu
3 Replies
9. AIX
Hello,
Oracle PDF reports run only when you run the command
# xhost +
from the console,
but if you run from the xmanager session , then report doesn't work
running from windows pc using xmanager
# xhost +
access control disabled, clients can connect from any host
# echo... (7 Replies)
Discussion started by: filosophizer
7 Replies
10. Shell Programming and Scripting
msg.sh
#!/bin/bash
if
then
echo "starting service"
else
echo " service not started"
echo " Please check the start.sh file or manuly start the service"
fi
if i login with root credentials @12.36.34.123 with passwd
username:root
passwd:abc
once i login into linux pc... (6 Replies)
Discussion started by: saku
6 Replies