10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear every one,
I am working with the data of my lab program and I have to do many times by the same list of some commands (grep, then save to file, then use awk to delete odd lines, save to file, use awk to delete even lines, save to file...).
Is there any way to save a list of command which I... (4 Replies)
Discussion started by: phamnu
I am testing sudo and I want to test it. Can anyone please let me know few commands (of course other than shutdown, reboot etc. as I can't reboot the box) on AIX that can be run by ROOT only.
---------- Post updated at 07:43 PM ---------- Previous update was at 07:38 PM... (5 Replies)
Discussion started by: prvnrk
3. Shell Programming and Scripting
I have written a script which which is working fine to a certain logic of it. But i want a part of the script to run two commands at 00:10 hrs every day. These two command are
1. rm -rf /path/to/folder
2. mail the content of a file.
How do i achieve this. Thanks.
... (4 Replies)
Discussion started by: Siddheshk
4. Shell Programming and Scripting
I'm trying to write a script that in the end will from one central location hop to a bunch of servers and then run a series of ping tests. The thing is, the list of devices that needs to be pinged is going to be different for each server. So what I want to do is be able to do is read through the... (0 Replies)
Discussion started by: DeCoTwc
5. UNIX for Dummies Questions & Answers
I need execute a script every 30 minutes. As might be done without using cron
Thx. (6 Replies)
Discussion started by: pepeli30
i want ur help! it is urgent!!
else if (pid>0)
timer(5); //(command 1)timer is a function that count up to 5sec
perror("error");... (3 Replies)
Discussion started by: nicos
7. Shell Programming and Scripting
Hello guys, I am new at shell scripting and I want to create a script that runs several commands at a time, ie: uptime, w, df -h and so on and send the output of this commands to a text file so it can be send via email at a certain time using crontab.
Any help will be much appreciated! (4 Replies)
Discussion started by: agasamapetilon
8. Shell Programming and Scripting
Look what im doing:
I need to run a process from a SERVER1 to SERVER2, SERVER3 and SERVER4.
The shell of the process is in each SERVER (2 to 4)
So from SERVER1 i do:
for i in SERVER2 SERVER3 SERVER4
rsh $i '
The problem is: each process.sh... (2 Replies)
Discussion started by: lestat_ecuador
9. Shell Programming and Scripting
i want to run a process in certain date and hour (like feb 2007 ,hour 3 p.m)
how shell i write it
my script call cs-update-pr
another question :as the script running, will i see it as process ?ho does it run
background? and if not - how can i define to him to run background?
thanks... (3 Replies)
Discussion started by: naamas03
I am working on Sun Solaris 5.7. I am trying to read the running time of a process through a C program.
One way I am reading it is by using the command ps -<pid> -f
The other way is from the struct psinfo_t which is there under /proc/pid/psinfo.
However, the two times are... (1 Reply)
Discussion started by: hmurali