9 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. Shell Programming and Scripting
If I execute below code I am able to get string from column8 and column10 about a process.
serverA1$> ps -ef | grep rotate | grep 'config' | awk '{print $8" "$10}'
/<Oracle_home>/ohs/bin/odl_rotatelogs -h:/<app_Home>/config/OHS/ohs1/component_events.xml_ohs1... (12 Replies)
Discussion started by: kchinnam
12 Replies
4. HP-UX
Greetings, i'm currently having issues in successfully executing a script from one server to other, and i'm cracking my nut in understanding why. Let's get started with the default info:
Server A:
briozzo@A:/home/briozzo $ uname -a
HP-UX A B.11.31 U ia64 2787251109 unlimited-user license
... (3 Replies)
Discussion started by: nbriozzo
3 Replies
5. 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
6. Cybersecurity
If a user execute commands remotely over ssh : $ ssh USERNAME@SERVER COMMANDSHow the SERVER administrator can log those COMMANDS executed in a "not a tty" session ?
I searched for my question and get the following suggestions:Anybody give help how to do this ? what the content of "/bin/bash "... (1 Reply)
Discussion started by: new0h
1 Replies
7. Shell Programming and Scripting
Hi all
I wrote a script to execute a script on several remote hosts, but somehow during the execution of the local script, ssh can't come back from the remote host, so that causes my local script hanging... I use the below command to do the job in the local script, any idea?
ssh... (12 Replies)
Discussion started by: bzylg
12 Replies
8. Shell Programming and Scripting
Hi guys i have a script (takeconsole) as following
I have moved it to /usr/local/bin to make the execution of script simpler.
below are the content of the file.
When i run the file by typing "takeconsole" .it always ask for entering the IP address but when i run it by using ". takeconsole".... (9 Replies)
Discussion started by: pinga123
9 Replies
9. Shell Programming and Scripting
Hello
Its a simple issue i suppose.I am trying to write a script which first logson to other server via SSH & tries to stop a process ,then returns to its originator & completes a task & finally jumps to that second servers again & starts the (stopped) process.
What i am not able to implement... (2 Replies)
Discussion started by: ak835
2 Replies