10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have created script which redirect the output to file.I am able to get the output in file but not in the format.
Output :Content of the log which have 10 -15 lines.
Actal :Line1 ..Line 2Line3 Line4 Line 5
Please... (7 Replies)
Discussion started by: karthik771
2. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I'm having trouble redirecting the output of my sysinfo_page script into my sysinfo_page.html file. The task at hand is to be able to email both the html file and the script to myself. I'm assuming that the html should appear as a web... (8 Replies)
Discussion started by: braing
When i am issuing chage command, it reporting the output properly.
But when i redirect the output, i am not getting the output in the mentioned path.
chage -l root >> /tmp/chage.txt.
I need to use this into the script to capture the data. I think its seems to be bug with RHEL 6.3. Same... (3 Replies)
Discussion started by: Srini.rk1983
I need to install solaris remotely via the ILOM port on a x4170 box, and I have downloaded the Solaris 11 for x86 Ė text install image and burned it on a DVD.
When I boot the box, itís showing the boot_archive loading percentage on the SP console, but when itís done and start the interactive... (0 Replies)
Discussion started by: u_paludan
5. UNIX for Dummies Questions & Answers
I want to redirect my script output to more than one file without printing the result to the screen. How to do that?
echo "hi" >> a.txt b.txt
:confused: (2 Replies)
Discussion started by: boopathyvasagam
6. Shell Programming and Scripting
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Discussion started by: butterfly20
7. Shell Programming and Scripting
Below is the whole string which is to be redirected to the new file.
su - oracle -c "exp $user/$pass file=/oracle/oradata/backup/exp_trn_tables_`date +%d_%b_20%y_%H_%M_%S`.dmp log=/oracle/oradata/backup/exp_trn_tables_`date +%d_%b_20%y_%H_%M_%S`.log tables=table1,table2 statistics=none"
... (3 Replies)
Discussion started by: milink
8. Shell Programming and Scripting
I would like to store the output of a command in a variable and output it to the console at the same time. This is working fine using the following construct
var=`command | tee /dev/tty`
I use this in some scripts to display the output of the command on the console and, at the same... (2 Replies)
Discussion started by: script_man
9. Shell Programming and Scripting
We are having a requirement where one shell script, say a.sh (which uses Java and connects to Oracle database using JDBC) keeps on running everytime. I created a wrapper (to check whether a.sh is running and if not then to start it) and scheduled it in the crontab. Now all the output from... (3 Replies)
Discussion started by: ankitgoel
10. Shell Programming and Scripting
Is it possible to run <talk> such that both sides of the conversation are written to the screen and also to a file?
I use the utility to chat with collaborators and sometimes it would be nice to have a record of our conversation while we are problem solving.
I am running OS X, so <talk>... (4 Replies)
Discussion started by: cej