Search Results

Search: Posts Made By: ad4m88
5,301
Posted By ad4m88
Wouldn’t work ... but messed about with it ......
Wouldn’t work ... but messed about with it ... and it worked! Thanks.

One last help.... how do i:
1) Add and delete a user (I know 'deluser' and 'adduser' does it), but in a menu type...
5,301
Posted By ad4m88
Im getting 'Invalid Option' Is this correct:...
Im getting 'Invalid Option'

Is this correct:

echo "Would you like to reboot the box?"
echo "Ok to procede?"; read ans

case "$ans" in
...
5,301
Posted By ad4m88
Menu Driven UNIX Admin
I need to have a script that can do an automated IPL function (how to reboot the box). I think ‘reboot’ would do the trick.

However, how would I go about doing it, for example if the user states...
3,636
Posted By ad4m88
I will be honest, it is. But i am just finding it...
I will be honest, it is. But i am just finding it hard. Any help is much appreciated.
3,636
Posted By ad4m88
Thanks mate, Hope im not asking for too much...
Thanks mate,

Hope im not asking for too much but, How would i write a script in a bash shell that can:
a) reboot the box
b) prefix a reboot with a suitable warning and pause
c) ping an IP...
3,636
Posted By ad4m88
Sorry to bother again, but what command will show...
Sorry to bother again, but what command will show the name of
1)the running system, &
2)the O/S.

I tried uname -a, how would i cut the info from this using awk or grep. Also by doing uname -o...
3,636
Posted By ad4m88
Thanks for your help. Best Regards.
Thanks for your help.

Best Regards.
3,636
Posted By ad4m88
Some Info.
Hiya all ... i am a newbie to UNIX,

Just want to knwo what this command does:
/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'

I think, 'grep shows the line with 'inet...
Showing results 1 to 8 of 8

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