10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ,
A shell script being executed by multiple user in a host, but i need the output of each user who executed the script
user should have screen output as well ...and unique log file name should generated on execution of script
is there anyway to get it
below file will overwrite... (5 Replies)
Discussion started by: amar1208
5 Replies
2. Programming
def gob(url):
print "\n\t Running gobuster on target."
params = " -e -s '307,200,204,301,302' -t 20 -u " + url + " >> /tmp/%s/gobuster.txt" % (ip)
os.system("xterm -e bash -c "tail -f /tmp/%/gobuster.txt"")
for i in bflist:
dirbf = "gobuster -w " + i... (3 Replies)
Discussion started by: alvinoo
3 Replies
3. Solaris
Hi,
I am having a shell script on Solaris 10 which has a while loop as shown below.
#!/usr/bin/ksh
#
while
do
sleep 60
done
Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies
4. Shell Programming and Scripting
I m using multiple scripts which are running on one master computer(server) and fetching records from another computers(client).
For example.
Machine A running scripts to execute code on Client machines say Machine B ,Machine C and Machine D
respectively.
Output of the script is then... (2 Replies)
Discussion started by: pinga123
2 Replies
5. Emergency UNIX and Linux Support
I am database guy and not very good at shell scripts. I am seeking help to sharp my script coding. I have 5 scripts
1. master script. I use this one to call other four scripts to do database work.
2. db_backup_1 and log_backup_1
3. db_backup_2 and log_backup_2
in master script, I want to... (4 Replies)
Discussion started by: duke0001
4 Replies
6. UNIX for Advanced & Expert Users
Hello,
I am writing a shell script in which i do ssh to remote server and count the number of files there and then exit. After the exit the shell script terminates which i believe is expected behavior. Can some one suggest me a way where even after the exit the script execution resumes.
... (2 Replies)
Discussion started by: manaankit
2 Replies
7. Shell Programming and Scripting
I m writing a program to execute remote script .
(display remote file content)
Whenever i execute following statement it gives me an error.
$command="cat /root/vm.cfg"
ssh -ttq root@10.180.8.236 $command
However following script work find.
ssh -ttq root@10.180.8.236 cat /root/vm.cfg
... (8 Replies)
Discussion started by: pinga123
8 Replies
8. Shell Programming and Scripting
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Discussion started by: twk
2 Replies
9. Shell Programming and Scripting
The situation is like this.
If I need to know the parameters of all the unix servers connected to a common network, is it possible to get all the parameter details of all the system with the help of a script written in one server??
Can a script be written like that ?
Let me give some... (3 Replies)
Discussion started by: yuvanash
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
Can somebody tell me the differnce between a call of a ksh with the dot :
>. script.ksh
and the call without the dot:
>script.ksh
In my script I have writen a test for the number of parameters:
if
then echo 'Usage : '$0
exit 1
fi
as my script doesn't need any... (3 Replies)
Discussion started by: Cecile
3 Replies