LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   if output to /dev/null how can i still get some output ?? (https://www.linuxquestions.org/questions/linux-software-2/if-output-to-dev-null-how-can-i-still-get-some-output-770924/)

naveen76 11-23-2009 03:00 AM

if output to /dev/null how can i still get some output ??
 
if i running a bash script with output to /dev/null

is there still a way to write echo direct to tty1 ??

wfh 11-23-2009 04:25 AM

I can't tell from your post what you're trying to do, but in general, it is possible to redirect your data streams in a variety of ways.

Try here, first:
Redirection and Pipeline Notes

naveen76 11-23-2009 10:12 AM

Quote:

Originally Posted by wfh (Post 3766499)
I can't tell from your post what you're trying to do, but in general, it is possible to redirect your data streams in a variety of ways.

Try here, first:
Redirection and Pipeline Notes

i am running a bash script with output to /dev/null but i want it to only output text on my wishes

i did it with echo " text " > /dev/tty1 wich worked for me :)

but thanks anyway for answering my question


All times are GMT -5. The time now is 10:21 PM.