10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is on a CentOS box, I have two scripts that need to run in order.
I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Discussion started by: btramer
3 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data: It's a shell script using a looping logic, trap, tput, if, while. Most of the scripts in this book aren't written... (2 Replies)
Discussion started by: ckleinholz
2 Replies
3. Shell Programming and Scripting
Okay so I'm 13 and my dad set me a challenge of writing a program that check to see if a box is online with input parameter when starting the program so i came back with this.The top commented out bit is what he showed me how to do after i show him my code.
#!/bin/sh
#in=${@}
#tst=`echo... (3 Replies)
Discussion started by: mattylad000
3 Replies
4. Shell Programming and Scripting
I'm a programming noob. I'm trying to run a memory intensive process for many files. But when I use the following script, it runs fine for the first 5-7 files, then runs out of memory. Monitoring the output files, it's clear the processes are going on in parallel. Once 5-7 of the files are being... (18 Replies)
Discussion started by: pathunkathunk
18 Replies
5. Shell Programming and Scripting
Hi I am trying to make my scripts to run from any directory and after some research (googling) I find there are 2 ways to do this
1. export PATH=$PATH:directory
2. create a /bin directory in your home directory and put your scripts there.
Could someone tell me the relative merits of either... (1 Reply)
Discussion started by: piynik
1 Replies
6. SuSE
I'm using SuSE Enterprise Linux 11 SP1 on several servers and need to have a program start on all of these server about a minute after bootup, but before anyone logs in. Does anyone have any idea on how to make this work?
Thanks. (2 Replies)
Discussion started by: goose25
2 Replies
7. Shell Programming and Scripting
Hello guys,
While going over the book, I ran into this chess program and I have few questions
1) on line 40), why is not $chessboard-> ) ???
40 unless (defined $chessboard->) {
2)
20 foreach my $i (reverse (0..7)) { #Row
1 #!/usr/bin/perl -w
2 #
3 #
4
5
... (1 Reply)
Discussion started by: hankooknara
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a program in /opt/local/bin, my path in my .profile is
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
however when i type the program name it cannot find it, however i know the program is in /opt/local/bin?
Thanks (2 Replies)
Discussion started by: c19h28O2
2 Replies
9. UNIX for Dummies Questions & Answers
I have the root password for my box, but I'm ignorant.
So, every time I start my computer, I have to run this command
/sbin/modprobe fuse
as su, so that I can do other stuff (like mount remote directories locally using sshfs)
I guess there's some file, like .bashrc, only it's applicable... (4 Replies)
Discussion started by: tphyahoo
4 Replies
10. Linux
Hi all,
I want to know possible ways to exceute the shell scripts on Windows environment.
Please help me.
Regards,
Uday. (2 Replies)
Discussion started by: uday123
2 Replies