Shell Scripts

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

 



I have a bunch of MYSQL tables and files to back up.  I want to write some
scripts that call functions so that I can reuse them.  I need to have a
script that gets called like this

backsql tablename weekly

Table name and weekly are 2 parameters.  In dos we use to code that with %1
%2 or maybe it was just numbers.  How do I pass parameters to a script?  I
need a sample to work from so I can get started.  Then I can read manuals.
What file names do I use in Linux.  Would it be backmysql.sh or something
like that?

 Rejean Proulx
Visit my family at http://interfree.ca
MSN is: rejp at rogers.com
Ham License VA3REJ





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux