10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
I'm attempting to parse a file whose contents follow this format;
The number of lines of the file... (4 Replies)
Discussion started by: CudaPrime
3. 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
4. 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
5. Shell Programming and Scripting
I want to write a bash script to:
1. Send an email from localhost to an external gmail account. (gmail then automatically forwards the message back to a pop account on the same server.
2. Script waits 3 minutes then checks to see if the email arrived, and if not, it sends an email to... (9 Replies)
Discussion started by: sallyanne
6. Shell Programming and Scripting
I have a bash script, but it needs to have a simple protection with password.
So if a user wants to run the script , there should be a kdialog to asks for a password.If the password is correct the script starts to run.
It should not be the passord of root or another admin user.Just a password in... (2 Replies)
Discussion started by: poort
7. Shell Programming and Scripting
So I need a script that does the following:
If a certain user is logged in
Echo “incorrect user”
This is my first stab...which doesn't work:
X="user=`ls -l /dev/console | cut -d " " -f 4`"
echo $Y (4 Replies)
Discussion started by: doubleminus
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
when I run the script kbytes shows up in the second line, How can I append kbytes on the same line, such as
thanks (2 Replies)
Discussion started by: Tirmazi
9. Shell Programming and Scripting
has anyone got a code snippet of how i can ftp a file automatically by running a simple bash script. I have 4 things
IP address xx.xxx.xx.xx
domain = app.sample.ftp
Im not sure how to pull these all together to ftp a file?
any ideas? (1 Reply)
Discussion started by: satnamx
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