Command Line Output
Hi
I essentially just want to do the following with my bash script: read.sh Code:
#!/bin/bash Code:
read.sh Code:
read.sh > output.txt Thanks |
you can look into tee
Code:
man tee |
Nice CS question. This will output "insert number" to stderr, and $num to stdout. We will only save stdout to the file.
Script Code:
#!/bin/bash Code:
[root@dev ~]# ./run.sh 1> tmp.file |
Quote:
|
All times are GMT -5. The time now is 08:02 PM. |