10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
I would like to ask about using gnome-terminal command, I had a script that will run my VBOX VM in headless and i want to display the output(STDOUT) on the gnome-terminal window. The purpose that i want to display the STDOUT of the script cause i will used it or create a desktop shortcut for... (11 Replies)
Discussion started by: jao_madn
11 Replies
2. Solaris
Hi, it's there a way to for me to su to run script?
It seems like if i put
su - <user1>
cd <path>
touch <file1>
It will stop at su without running the cd & touch command. (2 Replies)
Discussion started by: beginningDBA
2 Replies
3. Shell Programming and Scripting
hi,
we have a script which runs for the whole day and whenever the job fails, will send an alert to the mailbox. My problem here is that i need to give the jobname dynamically which is not possible if we run the script in background. Pls help me with this.
Thanks
Ajay (6 Replies)
Discussion started by: ajayakunuri
6 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have an old solaris 2.6 box and I need to copy all the data from the hard drive onto another machine. It does not have ssh installed so I am forced to use rsh. My plan was to execute the rcp command from the solaris box to a Centos 5 machine. I have installed rsh client and server on my... (1 Reply)
Discussion started by: mojoman
1 Replies
5. Shell Programming and Scripting
Dear,
I am trying to execute a script in the X machine by remote logging from machine Y. Note that in the X machine in host file the ip and the hostname of the Y is defined and in the .rhosts the hostname and the username of the Y is defined. By using the following:
rsh X -l username -n "sh... (0 Replies)
Discussion started by: tontal
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I have a script to run a list of customer information, but it not work. can anyone help below:
echo "Please input list to check customer detail:"
read list
for file in 'cat $list.txt'
do
echo "select cuname as "FROM CUNAME", invo_num as "RECS", total_amount as "AMOUNT", tax_amount as... (7 Replies)
Discussion started by: happyv
7 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script.
I have scheduled the job in my crontab file as
... (6 Replies)
Discussion started by: forumthreads
6 Replies
8. Shell Programming and Scripting
hey,
I'v a problem when I use rsh. When it logs in, it goes my home directory. I want it to go directly to my working directory. An idea I had was to redirect pwd to a file (pwd > somefile) and then once I'v rsh'd, cd to that path. I don't know how to read from the file to use as a parameter for... (2 Replies)
Discussion started by: Bacchus
2 Replies
9. Shell Programming and Scripting
Hi,
I am using rsh command in scripting. But I wan to run the script as a bg process.
When I run the script, it says stopped.
My doubt is ....if I use the rsh in scripting ......bg is possible or not ???
EX: test-rsh
rsh 172.16.73.38 df -k >DF.log
Result when I run this script ... (5 Replies)
Discussion started by: vastare
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all
I have checked the archives and cannot find a solution.
I get a permission denied error, however all the suggestions donot help.
here is the scenario
root@OPSBOX#/>rsh OPSBOX ls -l
rshd: 0826-813 Permission is denied.
root@OPSBOX#/>pg .rhosts
OPSBOX root
OPSBOX ... (1 Reply)
Discussion started by: jhansrod
1 Replies