Search Results

Search: Posts Made By: benjo
2,558
Posted By benjo
You've just exposed me to a whole new world of...
You've just exposed me to a whole new world of scripting. I've been teaching myself bash/sh and it's hard to find the good stuff. Thankyou.
2,558
Posted By benjo
Syntax prob. Passing a directory to $1 and testing it.
I'm running this simple little test:

#!/bin/sh

if [ -d $1 ] ; then
echo $1
else
echo "Usage:`basename $0` dir"
fi

echo "The end of the script."

The idea is, to test...
1,233
Posted By benjo
AHHHH!! ^d! That has been driving me crazy,...
AHHHH!! ^d!
That has been driving me crazy, thank you so much.
1,233
Posted By benjo
Simple Q about "at"
Hi all,
I simply can't work out how to use the "at" command. The way the man page reads, i should enter something like the following:

at 9:00pm rmdir /tmp/test

I can't make sense of the man...
2,356
Posted By benjo
Yes, that's all i was after. Thank you for that. ...
Yes, that's all i was after. Thank you for that.
As you can see im not the very good at scripting yet, this is probably a better job for something like perl. In any case, thanks for your help.
2,356
Posted By benjo
Noob, script formatting query
Hi all, im new to the forums and i hope im not asking a heavily posted Q but here goes.
I use the following script to do a simple calculation, the problem is, the data i receive is in the form of...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy