[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash and parameters



When I create a shell script how do I pass parameters to it?  For example, if I want to create a directory based on a name
I pass to the program with a shell script called mkmine the command would look like "mkmine Mydir" and this would create a 
directory called "Mydir"

would the script simply be mkdir %1 ?

if I wanted it to create a directory based on a name I give it and the current month would it be


mkdir %1 & date %m  ? 



Lance


Reply to: