10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Guys,
I would like to ask you for a favor. Could you please help me how can I assign any number as the parameter to a, from stdin (-c), in the following command line by using the 'switch' in a script?
awk '$8>a {print "File name:" $5,$8}'
I would also appreciate if you can share any... (1 Reply)
Discussion started by: Padavan
1 Replies
2. Shell Programming and Scripting
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies
3. Shell Programming and Scripting
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
4. Shell Programming and Scripting
Hi,
I am trying to run a python script embedded in bash script. But is throwing me an error. Please help.
Script:
#!/bin/bash
nohup /usr/bin/python /opt/web/http.py &
Error:
/usr/bin/python: can't open file '/opt/web/http.py': No such file or directory
Please help me on this. (6 Replies)
Discussion started by: maddy26615
6 Replies
5. UNIX for Dummies Questions & Answers
Hi I am trying to put the following commands that i have to type manually at the cshell prompt into a cshell script startup.csh which is copied below
echo $DISPLAY
xhost +
rsh ba08lo01
module load incisiv/102/10.20.035
setenv DISPLAY $DISPLAY
When i run the script with source command... (2 Replies)
Discussion started by: kaaliakahn
2 Replies
6. Shell Programming and Scripting
Hi ,I have this simple code,why is not working
thanks
#!/bin/csh
set res=find ./ -name "*.bash" | wc -l
$res > result.txt (16 Replies)
Discussion started by: lio123
16 Replies
7. Shell Programming and Scripting
Hello everyone! i'm new in this forum and I'm here because I have a huge problem with a csh script. Here the problem: I have to write a script that check the system status, more precisely I have to check if there are processes with TIME > 3 hours and if such processes exists I must send a mail... (3 Replies)
Discussion started by: TheBeefEater
3 Replies
8. Shell Programming and Scripting
Now I am using the HP-UX11.11 version.
The scripts are runninh in KSH shell.
While I wan to call one executable of any Pro*C file, I have got the following error, however the executable is running fine directly.
testpri Started at 10.05.200923:40
/usr/lib/dld.sl: Bad magic number for... (0 Replies)
Discussion started by: priyankak
0 Replies
9. Shell Programming and Scripting
Experts,
I tried to make my cshell script interactive by asking the user for password and trying to read the input using the "read" command. I have been unsuccessful so far. Do you have any idea ?
Thanks
Jim (2 Replies)
Discussion started by: jimmynath
2 Replies
10. Shell Programming and Scripting
taskes one or more .l files and compiles them
#!/usr/bin/csh
#while loop to carry on asking user to enter the files
while $number!=0
echo "enter file name"
#check to see if file ends with .l
#if file ends with .l compile lexx.yy.c file for each file
this is how i think it needs... (1 Reply)
Discussion started by: homerj546
1 Replies