Jump to content

shell script using system variables ?


WolwX

Recommended Posts

Hello,

 

I'm trying to create some shell script, but I stuck in this step.

 

I wish to create a file in a directory.

 

Nothing hard using cat or any text editor, but when I try to give him a custom name, in relation with my customer, I don't know how to do it :/

 

I looked after some variable like

$params["serverusername"]

or

$serverusername

or

$mycustomvariable

without success ...

 

So if anyone know how to do that ?

 

The way to use thoses types of system variable, and the list can be usefull for me, so if anyone have the list of some informations to help me, I will be happy :)

Edited by WolwX
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use