Hi everyone,
First off, i'm looking for a tutor. I am not understanding bash scripting at all and would be willing to pay someone for help. Please e-mail me with contact info if interested asap to
moos928@hotmail.com Anyways, here are the two scripts i need help with. Any help would be much appreciated!!! Thanks!!! Btw, using VI editor on these.
2. Create a script named decimal.bash to output a decimal number when a
binary number is passed in as an argument. The script should check
to see if the correct number of arguments have been passed into the
script. It should display a usage message if the incorrect number
of arguments are entered.
3. Copy the file /home/share/passwd.dat to your scripts directory. Create
a script named passwd.bash that will display the contents of the
passwd.dat file in the following format.
John Smith's password is JS1234
Sue Doe's password is SD2223
The passwd.dat file name should be passed in as an argument. The script
should check to see if the correct number of arguments have been passed
into the script. It should display a usage message if the incorrect
number of arguments are entered. Where the JS are initials and 1234 are
the last for digits of the social security number.thebigman101
Posts: 1
Joined: Fri Apr 16, 2010 5:36 pm
Private messageTop
--------------------------------------------------------------------------------