10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good morning dear friends,
I want to write an UNIX script to do the following task:
We have 6 directories, called (SMS_01, SMS_02 ....... SMS_06), some files are distributed across these directories, but the distribution process is not good, I mean when I check these directories I found the... (14 Replies)
Discussion started by: Mohannad
14 Replies
2. Shell Programming and Scripting
Hello again,
I am runnning a job on a cluster and I submit a job with the command
qsub script.sh
where script.sh is a script with the command i want o use. When i enter this command the cluster gives a huber like 123456 as the JOB ID.
I want the job to run about 12 hours and when it... (5 Replies)
Discussion started by: lengolass
5 Replies
3. Shell Programming and Scripting
Hi All,
Can anyone help me to finish the scripts. this scripts is
this scripts will run on crontab in every 4 minutes to get the newest router interface status.
I would like to add a function to count the router interface flapping, if more than 2 times in 20 minutes (scripts run 5 times)... (1 Reply)
Discussion started by: momo0617
1 Replies
4. Shell Programming and Scripting
Hello,
I'm doing a script where I'm traveling a file, and moves down line by line, and is copied to another file, up to the line 100, then the smaller file passes to another format ... but the problem I have is that if there are 357 lines for example, file 1 2 i 3, converted correctly but the 4... (1 Reply)
Discussion started by: uri_crack
1 Replies
5. Shell Programming and Scripting
I am trying to add a finish script that can copy hosts, static routes and a few other files into relevant directories on a client system. These files would be mounted as nfs resource on the client as hosts.hostname, static_route.hostname etc. Script will compare the hostname of the client and copy... (0 Replies)
Discussion started by: c0kazaz
0 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I wanted to write a finish script for my jumpstart server which creates a ntp.conf file and enables ntp on the client machines during installation. Is that possible?
Thanks for the help :)
P.S. I'm a real Solaris noob, so do excuse me if I sound like an idiot..lol (1 Reply)
Discussion started by: iman453
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have strange problem executing some command on solaris 5.9
ps command does not finish(hangs) and runs forever without any result.
same with cc command too.Please suggest (1 Reply)
Discussion started by: Raom
1 Replies
8. UNIX for Dummies Questions & Answers
i tried to build a command to replaces the word "include" with
"exclude"
in each *.h type of file in a certain directory
and to display the lines in which the switch happened.
i did a command and i dont know why its not working
find /usr -name "*.h" -exec sed 's/include/exclude/g' {} \;... (2 Replies)
Discussion started by: newby2
2 Replies
9. UNIX for Advanced & Expert Users
hi,
i have a flat file, with lines (records), and fields, and each field is separated by pipe ( | ) :
1|078|012006|3,9
2|078|012006|8692275|4|2|GON3507090
2|078|012006|7655734|9|0|GON3507090
2|078|012006|7572405|5|4|GCR5N07090
what i need is to insert a pipe in the end of the line:... (3 Replies)
Discussion started by: DebianJ
3 Replies
10. UNIX for Advanced & Expert Users
Have a need to schedule programs that can run after other programs are completed. Here's the catch:
1) The list of programs will not always be the same (kind of a plug-n-play deal)
2) The invoking shell may not be the same as the shell of the program being waited on
In other words, I need... (2 Replies)
Discussion started by: superdelic
2 Replies