10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to run a shell script on unix machine from windows 7.
I used the "RSH" command in win XP successfully for this, But on win 7 it is not working.
Can any body tell me how to run RSH on win 7 or any other command for similar use.
I use the command as below
rsh <unix m/c> -l <username>... (1 Reply)
Discussion started by: arup1980
1 Replies
2. Shell Programming and Scripting
Hello, Im trying to write a ksh script that will enter the universe environment as user kourier (switching to this specific user automatically launches to the TCL prompt). At the TCL " > " prompt i want to execute two variables. However, it wont recognize the second variable (user input Answer) due... (6 Replies)
Discussion started by: seekryts15
6 Replies
3. Shell Programming and Scripting
How to execute .sh file on Windows? (2 Replies)
Discussion started by: arunaakella
2 Replies
4. Windows & DOS: Issues & Discussions
Hi all,
I'm not sure if it is correct to post here.
I am facing problem wanting to create a batch that run from my Windows XP pc to remote to multiple Solaris server to execute the server's ksh script. :wall:
Can anyone give me a hints on how to do that? Thanks. (6 Replies)
Discussion started by: beginningDBA
6 Replies
5. Solaris
Hi,
All the scripts placed in /home/bin had 755 permissions. Sometimes scripts are failing with cannot execute errors.
Let me describe a simple scenario.
MasterScript.sh had 755 permissions. It is success most of the times. But, sometimes failing with cannot execute error.
Really... (1 Reply)
Discussion started by: sureng
1 Replies
6. Shell Programming and Scripting
I am newbie in UNIX, so please excuse me for the stupid question.:)
Here is a problem:
I created ksh script where the part of the functionality include an opening of a second session with another shell process "runrep"(runrep is a custom reporting shell designed by Advent Geneva).
When I run my... (3 Replies)
Discussion started by: alexstar
3 Replies
7. Shell Programming and Scripting
Hi,
I am executing a ksh.
I want to note the time taken to execute each command that are executed in the ksh and write it in a log file.
Also I want to note the total time taken to execute the ksh.
How can I do that?What is the command to do that? (2 Replies)
Discussion started by: Kishore_1
2 Replies
8. Shell Programming and Scripting
How do I execute a command containing a double quote ?
I pass a variable to grep that contains spaces, so I need to quote it,
but it does not work.
#!/usr/bin/ksh
set -x
txt='"next to"'
cmd="grep $txt ~dpearso5/file2"
echo $cmd
$cmd
This is the error I get:
+ grep "next to"... (1 Reply)
Discussion started by: pearson05
1 Replies
9. Shell Programming and Scripting
Hi,
I wrote a smiple ksh function
send_notification() {
...
}
and want to execute it on each file, matched by the find command.
I tried:
find / -name "*.err" -mtime -8 -exec send_notification {} \;
but it doesn't work. What should I do? I work in ksh on Hp-Ux.
Regards,
Pit (11 Replies)
Discussion started by: piooooter
11 Replies
10. UNIX for Dummies Questions & Answers
I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks (4 Replies)
Discussion started by: kyawlin
4 Replies