10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please delete! (0 Replies)
Discussion started by: SkySmart
0 Replies
2. Shell Programming and Scripting
Dear AIXians,
I have a task for very simple script, but I can't write it correctly :confused:
I have a file called (out.txt), if any line of this file starts with the word 'ORA', it must send email, if the file (out.txt) don't have this word, so it do nothing.
Please tell me how.
... (4 Replies)
Discussion started by: Mohannad
4 Replies
3. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
4. Shell Programming and Scripting
I'm attempting to parse a file whose contents follow this format;
4:/eula.1028.txt:
8:/eula.1031.txt:
19:/eula.1033.txt:
23:/eula.1036.txt:
27:/eula.1040.txt:
31:/eula.1041.txt:
35:/eula.1042.txt:
39:/eula.2052.txt:
43:/eula.3082.txt:
The number of lines of the file... (4 Replies)
Discussion started by: CudaPrime
4 Replies
5. Shell Programming and Scripting
Hi to everyone here,
I'm a new user and relatively-new linuxer.
I'm trying to write a script that checks if every file from a directory is present in a given list and if not, delete it.
should be simple. But I think I've done half the work only:
this is to create the reference list:
for c... (2 Replies)
Discussion started by: dentex
2 Replies
6. Shell Programming and Scripting
to gather the cpu utilization from a system in 5 minute intervals and direct output to file.
I'm new at scripting and while this seems like an easy task I'm confused on where to start. thanks for any help (1 Reply)
Discussion started by: mkeyes001
1 Replies
7. Web Development
Someone asked me to post a very simple script for creating multiple language sitemaps from a vbseo generated sitemap for vbulletin. You will need to create the required directories, change the paths and website name as appropriate.
This code could be easily wrapped in a simple while loop and... (0 Replies)
Discussion started by: Neo
0 Replies
8. Shell Programming and Scripting
I am writing a shell script in bash one of the thing I want to show is size of export /home
du -sk /export/home/oracle | cut -c 1-5
echo "kbytes"
when I run the script kbytes shows up in the second line, How can I append kbytes on the same line, such as
61233 kbytes
please guide
thanks (2 Replies)
Discussion started by: Tirmazi
2 Replies
9. Shell Programming and Scripting
Hi guys, I'm new to the forum so forgive me if I'm sounding ... daft.
I currently work in a Tech Support role. Every day we have to generate data by running around 10 .sh scripts. I was thinking instead of having to ./filename 10 times is it possible to right a new script that will run these for... (16 Replies)
Discussion started by: JayC89
16 Replies
10. Shell Programming and Scripting
I'm sure I'm doing something wrong but as I am new to bash shell scripting I'm not sure what:
Here's the code
webalizer.conf is sitting in the same directory as this file which is named webalizer.sh. Can someone tell me if I've got the syntax right -- it that's correct? I'm executing the... (3 Replies)
Discussion started by: xaphalanx
3 Replies