You are talking about BASH syntax....it is not specific to RedHat (or any other distro)
There are several good books on BASH---eg "BASH Guide for Beginners" and "The Advanced BASH Scripting Guide"(ABS)---both free at tldp.org. I recommend downloading ABS and using it for searches.
From ABS: $1 - $9 = positional parameters #1-9
${10} = positional parameter #10
I don't know how high you can go ( I tried 13 and it worked)
Quote:
Please give me the file associated with positional parameter.
|
I don't know what you mean by this--eg documentation (see above). If you mean a file in the OS, then I don't think there is such a thing. The parameters are passed to a command in a memory stack---they would only get into a file if you put them there.