Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: bonekrusher
1,805
Posted By bonekrusher
got it: su root -c myscripts.ksh
got it:


su root -c myscripts.ksh
1,805
Posted By bonekrusher
Scripts and changing users
Hi,

I am writing somescripts to shut down some services in Korn Shell. Some of the services are under different owners. For example when I want to shutdown NXserver I need to be "root", but when I...
1,639
Posted By bonekrusher
[nameofprogram] [parameter] and its is...
[nameofprogram] [parameter]

and its is automaticly assigned to $1

e.g.

Testprogram myinput

echo $1
myinput
1,251
Posted By bonekrusher
Never Mind... it works whe I open in WordPad.. ...
Never Mind... it works whe I open in WordPad..

Ahhhh
:)
1,251
Posted By bonekrusher
I/O question
Hi,

I have a simple .ksh file that list the contents of a folder. The contents of the folder need to be checked (make sure they are there). I have the output printed to a log. I then FTP to a...
2,887
Posted By bonekrusher
Thanks... it worked perfect. BTW what does...
Thanks... it worked perfect.

BTW what does esac mean?
2,887
Posted By bonekrusher
Apply Regex to input read
Hi I am very new to Unix Shell. I have a question:

How do you check the input value against a reqex?

For example using korn Shell:

echo "Please enter revision month: \c"
read revmon

if...
Showing results 1 to 7 of 7

 

Featured Tech Videos

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