Anyone know about domain name ownership?

aimn

Banned
Feb 14, 2001
683
0
0
Thanks ImTyping.......


Yes........I am a Unix administrator..........I dont do anything as far as web stuff. I have all I can do to keep up with administering my unix boxes at work. I am not like you guys that started playing with the computers when I was 5 years old. The first time I ever touched a pc was about 5 years ago. 5 years ago I couldnt have told you the difference between a hard drive and a floppy drive. Sorry that I am not well versed in all aspect of the computing industry. I guess I wasnt born with all of the answers like most of you seemed to have been. I need to ask questions to find answers.
Intake77 Can you tell me something? In shell script ,how to check if type of a shell variable is integer ?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Thanks ImTyping........it doesnt matter where or who you register it with.......you can use it with any hosting service, right? >>



You should be able to, but make sure you read the agreement before giving them money. Some places offer discounts if you sign up for them to host it. (most of them also own the domain and probably pay full price for it :p)
 

burnedout

Diamond Member
Oct 12, 1999
6,249
2
0
sysadmin: I hear ya. I ask lot's of questions all the time too.

Some of us "old-timers" simply weren't exposed to all the consumer aspects of the industry because we were too busy setting up and maintaining SPARCstation 2 boxes for our employers back in the early 90s.

OMG Mr. Bill! Mr. Bill!..... what is Unix or a SPARCstation? I only know about Windoze!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< sysadmin: I hear ya. I ask lot's of questions all the time too.

Some of us "old-timers" simply weren't exposed to all the consumer aspects of the industry because we were too busy setting up and maintaining SPARCstation 2 boxes for our employers back in the early 90s.

OMG Mr. Bill! Mr. Bill!..... what is Unix or a SPARCstation? I only know about Windoze!
>>



Well you would possibly a good person to ask where the best place to get new ram for a SS10. Any clues, other than auction sites? :)
 

aimn

Banned
Feb 14, 2001
683
0
0
Burnedout thanks..........geez. You know.........some of these people on here. I know a lot about a lot of things, but a lot of these people know everything about everything. Then if you ask a question about something that you have no experience with and they have years of experience dealing with it.........your an idiot. Dont get me wrong, there are a lot of good people on this forum. I guess its the immaturaty of some that keep shining through.
 

burnedout

Diamond Member
Oct 12, 1999
6,249
2
0
Well you would possibly a good person to ask where the best place to get new ram for a SS10. Any clues, other than auction sites?

I have a few sticks, but I'll send you the e-mail address of a guy via PM.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Well you would possibly a good person to ask where the best place to get new ram for a SS10. Any clues, other than auction sites?

I have a few sticks, but I'll send you the e-mail address of a guy via PM.
>>



EDIT: Thanks :)



<< Can you tell me something? In shell script ,how to check if type of a shell variable is integer ? >>



I was asked this in PM, but Ill go ahead and show my ignorance on this one in public here. Ive got no clue. Ive never had to do it in shell script and its been a little too long since I had some sleep. So, duh, no clue. :)

What UNIXes do you use BTW?
 

aimn

Banned
Feb 14, 2001
683
0
0
HPUX 10.20..........On 8 boxes.............hopefully going to upgrade to 11.xx this year, economy permitting. My point was that you guys HAHAHAHAHAHAH dont know about everything. I have been learning HPUX for 3 yrs now, I think I might know about 1% of what there is to know about that file system and administering it. Thank god there are a lot of smart/experienced and polite people out there that dont mind helping us less experienced admins. Im not attacking you, you gave me some good adivice and I thank you for that.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< HPUX 10.20..........On 8 boxes.............hopefully going to upgrade to 11.xx this year, economy permitting. My point was that you guys HAHAHAHAHAHAH dont know about everything. I have been learning HPUX for 3 yrs now, I think I might know about 1% of what there is to know about that file system and administering it. Thank god there are a lot of smart/experienced and polite people out there that dont mind helping us less experienced admins. Im not attacking you, you gave me some good adivice and I thank you for that. >>



ewwww HP-UX. I never liked that. Thankfully I didnt have to mess with it for very long. I deserve to get some crap for that. I thought the comment was funny, but I havent been to bed in a while (noc shifts suck ;)). I help where I can in the OS forum (mostly), I try not to take OT too seriously. Anyhow, what was the answer to your question? You got me all curious and its too late (early) to be able to think and figure it out on my own :p
 

kranky

Elite Member
Oct 9, 1999
21,019
156
106
One way I found to test if a variable contains an integer: (This one is for the Bourne shell)

echo $X | grep -v [0-9] > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
# If the grep found something other than 0-9, then it's not an integer.
echo "Sorry, wanted a number"
else
# The grep found only 0-9, so it's an integer.
...do stuff...
fi

-----------
Another way using bash

#!/bin/bash

SUCCESS=0
E_BADINPUT=65

test "$1" -ne 0 -o "$1" -eq 0 2>/dev/null
# An integer is either equal to 0 or not equal to 0.
# 2>/dev/null suppresses error message.

if [ $? -ne "$SUCCESS" ]
then
echo "Usage: `basename $0` integer-input"
exit $E_BADINPUT
fi

let "sum = $1 + 25" # Would give error if $1 not integer.
echo "Sum = $sum"

# Any variable, not just a command line parameter, can be tested this way.

exit 0