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!



1. Please correct the below script so it works correctly

looptrack = y

while [ "$ looptrack " = 1 ]


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


Question 2.


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.


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.

Powered by Invision Power Board (
© Invision Power Services (