10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All,
I need to transfer all files present in one location to another but those files should be of specific extension like.
Find and copy all files of extension .xls, .pdf, .txt from location usr/tmp to location /per/Treat (6 Replies)
Discussion started by: yadavricky
6 Replies
2. Shell Programming and Scripting
hi guys
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???
sample.sh
df -a >> /tmp/size.log
and my cron to execute every minute every hour every day
* *... (5 Replies)
Discussion started by: azherkn3
5 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone. I've been reading around and am a little bit overwhelmed, hoping to find a kind soul out there to hold my hand through writing my first script. This need has emerged at work and I haven't much experience writing shell scripts, but this is a problem we have with a production environment... (13 Replies)
Discussion started by: thirdcoaster
13 Replies
4. Shell Programming and Scripting
I want to kill a process run by a user of another group.
How do I do that..? (3 Replies)
Discussion started by: Haimanti
3 Replies
5. Solaris
Hi Friends,
How can we find the process ID of a running process using the process name. In AIX I used to use the command "ps -ef | grep <process name>", it used to give me the owner of that process, Process ID and the threads running and the name of the process in the end.
However in... (2 Replies)
Discussion started by: sahilsardana
2 Replies
6. Shell Programming and Scripting
Hi,
I have following samp.txt file in unix.
samp.txt
01Roy2D3M000000
02Rad2D3M222222
.
.
.
.
10Mik0A2M343443
Desired Output
01Roy2A3M000000
02Rad2A3M222222
.
. (5 Replies)
Discussion started by: techmoris
5 Replies
7. Shell Programming and Scripting
Hi all,
I am having a little bit of trouble trying to find something out. I am trying to script a start/stop php file, for some gaming servers i host. The server have 2 lots of processes running on them, and the customers need to be able to start and stop them at their will.
So i know how to... (1 Reply)
Discussion started by: Syth
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm a newbie when it comes to using UNIX, and I'm hoping someone here can help me out. I have a set of processes that I want to run sequentially:
process1.py
process2.py
process3.py
I want to know I can run these sequentially using their process IDs (PIDs). Ideally, I want to... (2 Replies)
Discussion started by: shelata
2 Replies
9. Shell Programming and Scripting
Hi.
I was testing some staff and wrote simple script, which only writes date to log every 15 seconds.
Like that
#1.sh
while true;do
echo `date` >> 1.log
sleep 15
done
And than i ran this process with `at -s -f 1.sh now`. And now it is running and i don't know how to catch it.
I tryed... (1 Reply)
Discussion started by: kukuruku
1 Replies
10. UNIX for Dummies Questions & Answers
OS: Unix or Linux
I (only) know the pid of the process which was running earlier (say 5 hrs back) but it is not running now.
Is there a way I could find the details of that process? (atleast the name of the process). Please let me know. (2 Replies)
Discussion started by: vijay.d
2 Replies