Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ 2 questions

Posted by: michigan84 Aug 14 2013, 12:07 AM

Hi everyone

I am a beginner to linux and was wondering if anyone
can help me fix the script below so it works correctly.
I am using Ubuntu for this problem!

Thanks

Instructions:

1. Please correct the below script so it works correctly

looptrack = y

while [ "$ looptrack " = 1 ]

do

echo -n "Type in the account number:" read account

echo -n "Type in the first and last name:" ; read full_name

echo -n Type in the age:" read age

echo -n "Enter another record?"; read looptrack

finish



Question 2.

Instructions:

Given that you had a file system /dev/hd1 and a tape drive /dev/tape list out the commands you would use for a Sunday full backup and a daily incremental backup.


Thanks

Posted by: michaelk Aug 14 2013, 06:29 PM

Welcome to LinuxHelp.

Most forums as a rule will not do homework for you. You will only learn if you do it yourself. In addition we might use commands that you have not learned yet which your teacher will then know it is not your work.

1. What happens when you run the script?

2. Hint: Look at the man pages for tar.

www.tldp.org/LDP/abs/html/


Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)