CIT 352 Chap 07 Hands-On Projects

docx

School

Brigham Young University, Idaho *

*We aren’t endorsed by this school

Course

352

Subject

Finance

Date

Apr 3, 2024

Type

docx

Pages

7

Uploaded by JudgeLightningButterfly40

Report
CIT 352 Chapter 7 Name: Soren Petersen Complete all Projects by executing every step in each project. For those steps listed below, follow the specified instruction. Project 7-1 Step 21 Insert the screen capture 1
Project 7-2 Step 8 Insert the screen capture Project 7-3 Step 20: Insert the screen capture 2
Project 7-4 Step 6 Insert the screen capture 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Project 7-5 Step 5: Note that the following line uses backward single quotes, rather than the regular single quotes FILENAME= ` hostname ` Clarification on a question: [Original] Would this shell script work well to record storage configuration from different systems? [Updated] Will this shell script record the name of the host correctly if it were run on a different Linux workstation/server? Step 12: Note that the following line uses backward single quotes, rather than the regular single quotes FILE= ` echo $ANS | sed s#/#-#g ` DATE= ` date +%F ` Step 15: Typos 4
[Original] echo "$NAME\t$RELATION\t$PHONE" >> database echo "what word would you like to look for --->\c" [Corrected] echo -e "$NAME\t$RELATION\t$PHONE" >> database echo -e "what word would you like to look for --->\c" Step 16: Add the following information to database through familydatabase.sh. Alice Sister 1111 Bob Brother 2222 Christy Sister 3333 Insert the screen capture of the output of ‘cat database’ command. Project 7-6 Step 16 Insert the screen capture 5
Command Reference (List all new commands you learned in this chapter) echo -e "What directory do you want to back up? --> \c" read ANS echo "Performing backup ..... " sleep 3 FILE=$(echo $ANS | sed 's#/#-#g') DATE=$(date +%F) tar -zcvf ~/backup-$FILE-$DATE.tar.gz $ANS echo "Backup performed to ~/backup-$FILE-$DATE.tar.gz" echo -e "Family member’s relation to you -->\c" read RELATION echo -e "Family member’s telephone number --> \c" read PHONE echo "$NAME\t$RELATION\t$PHONE" >> database 6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
echo "What word would you like to look for? --> \c" read WORD grep "$WORD" database sleep 4 7