10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have many command is list in the variable lists,each command will run a very long time, so I want to run 5 commands at the same time with process till it complete run all the command,
lists="aa bb cc dd xx gg blabla zz ......." ( a very long list)
can some one point me the codes?
... (7 Replies)
Discussion started by: yanglei_fage
7 Replies
2. Shell Programming and Scripting
I have a configuration file that contains hundreds of these chunks. Each "chunk" is the section that begins with "define service {" and ends with "}".
define service {
check_command check_proc!java
hostgroup_name
service_description ... (5 Replies)
Discussion started by: SkySmart
5 Replies
3. UNIX for Dummies Questions & Answers
I am writing a tcsh script that will open an already-running processs on a system, and give it a command. I want to have something similar to this: http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/
But I need to be able to find the process and... (5 Replies)
Discussion started by: Adorai
5 Replies
4. Shell Programming and Scripting
Hello,
Am trying to copy log files from one directory to other directory but the files are with date format i need it for some specific date
like this
find . -name 'log.2011020*' -exec cp ~/temp {} \;
but its displaying the below error
cp: omitting directory `/home/l828117/temp'
cp:... (2 Replies)
Discussion started by: thelakbe
2 Replies
5. Shell Programming and Scripting
Hi
I have this script:
#!/bin/ksh
cmd1 | cmd 2 |cmd 3| cmd4
which it creates 4 process....
Is possible to create a single process PID1 which include all commands?
Thanks
Israel (2 Replies)
Discussion started by: iga3725
2 Replies
6. UNIX for Dummies Questions & Answers
I'm writing a PHP script which will take a given media file and convert it into a flash (flv) file. In addition to this, once the flv file has been generated I create two thumbnails (of different sizes) from the newly generated flv file.
In order to do this I'm calling ffmpeg from the command... (4 Replies)
Discussion started by: phatphug
4 Replies
7. Shell Programming and Scripting
Hi Guys,
Bit new to Unix shell scripting so this question might seems little kiddish for you.
what im trying to achieve here is :
I have file which is compressed like Account_52320090605076_log.Z
so in my shell script i call this file also as one of my parameters
like
... (4 Replies)
Discussion started by: coolrekz
4 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have an application where if it runs indivisually could able to execute commands (like system("ls")) and could able to execute tcl script.
Same application if started from health monitor process (From health monitor process my application will be forked), it could not execute the... (1 Reply)
Discussion started by: chandrutiptur
1 Replies
9. Shell Programming and Scripting
Hi,
I need to write a small script to search in some specific directories to check if any file is present with a unix command name...
Means if the directory contains any files like cat, vi, grep, find etc i need to list those files into a file.
Please help
Thanks,
D (6 Replies)
Discussion started by: deepakgang
6 Replies
10. Shell Programming and Scripting
Hi ,
I have a file named "sample" having the data as follows.
"663005487","USD",0,1,"NR"
If i give like
a=`awk -F ',' '{printf length($2)}' sample`
(Trying to find length of second field)I should get the output for the above as 3 (Omitting double quotes) not 5.
How to do this..... (2 Replies)
Discussion started by: jayakumarrt
2 Replies