Hi I just want a shell script which gives me the last argument passed. For example, if the script script.sh is executed >script.sh one two…
I am migrating from windows NT and have exported users to an csv file which I want to export to my linux PDC. Any one with that solution. Looking for…
Hi Im working on Redhat Linux. Im a normal/domain user and Im writing an installation program which opens up a UI asking for root password and…
I need a free site search CGI script (NOT remotely hosted). After googling a bit I found a great amount of different scripts but can’t really decide…
I was just wondering… I am running a webserver with Apache 2, and am looking for a little something more powerful than the standard Apache log…
Hi Gurus, Anyone here has a working firewall script for Apache Webserver that they can share? Or perhaps, comment on my script? I have a script…
ok – it works nicely if i don’t have mp3s with spaces in the name, if i hvve spaces in the name then it no worky… #!/bin/bash for i in `ls…
I modified crouse’s mysql backup script with some modifications and have been using it for a few weeks. It saved my tush yesterday, so I thought I’d…
Hi, I am learning linux. Doing some book exercise ques. Can someone tell me if these answers are correct.? Thanks 1) write a bash script…
One of the guys I work with wants to write a bash script that will accept a argument or two. *I know to access the args as $1, $2, $N – but how can I…
I have all of my songs in one dir (/media/audio) They are all named in the way ‘artist – songname.mp3/ogg’ Is someone able to provide the code for me…
I am looking at automating unzipping some files I have in directories. I am having a problem getting thru dumb characters in the filename, like…
How could I make a script that functioned like this: when you run the script like this script.sh "filename" the script would run tar…
I need a bash script that will delete all files that are less than 1MB in the /home/user folder. Can someone help me out?
I have a script to call on a file #!/bin/sh #Define Variables username=`awk -F: ‘{print $1}’ /tmp/new.webhost` userweb=`awk -F: ‘{print $2}’…
In a nutshell can someone explain me the difference between the various methods of quoting. I don’t seem to understand when to use ‘ and ` or "…
Ok. I started reading the tut’s laying around all over the place about bash scripting and came across some obtuse info about the stdout, stdin, and…
I was trying to make a script for someone that will open a url in Mozilla. It should open Mozilla if it’s not already, or open a new window if it is….
i have the variable $filename which i’d like to strip of it’s extension. i mean for example in perl i’d simply do $filename =~ s/(.+?)\..*/$1/; …
Hey Gang, I’d like to teach myself computer programming, so I can eventually teach my students (sharp middle schoolers). What’s the best place…
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in…
Note: when sorting by date, ‘descending order’ will show the newest results first.
Forum Rules