Question

In: Computer Science

PART 7: Explore some new commands using man and then attempt to use them: w, who,...

PART 7: Explore some new commands using man and then attempt to use them:

  • w, who, whoami
  • clear
  • reset
  • date TRY date +%Y
  • cal
  • exit
  • shutdown NOTE: We must not shutdown the general.asu.edu and only root can do it!
  • wc
  • let TRY  age=2019-1980
  • echo TRY  echo 'I am' $age 'old!'  and TRY echo -n 'HELLO!'
  • printf
  • grep TRY w | grep bjlauer | wc -l  NOTE: use your username rather than mine
  • env ALSO TRY  echo $LOGNAME
  • set
  • history TRY  history 50 > file.200
  • groups
  • id
  • logname
  • uname
  • host
  • find
  • locate
  • type
  • stty
  • tar TRY tar -cvf bu.tar file50

PART 7: Hand-on screen capture #6 of your last 30 commands

Solutions

Expert Solution

w , who , who am i

clear will clear all above commands

reset as follows

date with year

calendar

exit from root to user

shutdown
wc create list with apple banana and grapes

lets count them


Age

echo

wc -l

set

history

I have covered all the commands in the above screenshot , I have used GCP instance







Related Solutions

In this assignment, we will explore some simple expressions and evaluate them. We will use an...
In this assignment, we will explore some simple expressions and evaluate them. We will use an unconventional approach and severely limit the expressions. The focus will be on operator precedence. The only operators we support are logical or (|), logical and (&), less than (<), equal to (=), greater than (>), add (+), subtract (-), multiply (*) and divide (/). Each has a precedence level from 1 to 5 where higher precedence operators are evaluated first, from left-to-right. For example,...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your answer is partially correct. Blossom Corp. purchased machinery for $381,450 on May 1, 2020. It is estimated that it will have a useful life of 10 years, salvage value of $18,450, production of 290,400 units, and working hours of 25,000. During 2021, Blossom Corp. uses the machinery for 2,650 hours, and the machinery produces 31,400 units. From the information given, compute the depreciation charge...
New attempt is in progress. Some of the new entries may impact the last attempt grading....
New attempt is in progress. Some of the new entries may impact the last attempt grading. Your answer is partially correct. The cost of equipment purchased by Indigo, Inc., on June 1, 2017, is $ 101,460. It is estimated that the machine will have a $ 5,700 salvage value at the end of its service life. Its service life is estimated at  7 years, its total working hours are estimated at  47,880, and its total production is estimated at  598,500 units. During 2017,...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your answer is incorrect. Nash Home Improvement Company installs replacement siding, windows, and louvered glass doors for single-family homes and condominium complexes. The company is in the process of preparing its annual financial statements for the fiscal year ended May 31, 2020. Jim Alcide, controller for Nash, has gathered the following data concerning inventory. At May 31, 2020, the balance in Nash’s Raw Materials Inventory...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your...
New attempt is in progress. Some of the new entries may impact the last attempt grading.Your answer is incorrect. Tyler is 18 years old. He has $3,000 worth of EE bonds in his name. He received the bonds as gifts over the years. He is hoping to cash in the bonds and use the proceeds for college. Which of the following statements is true in relation to his goal? Because he is using the bonds for college, he will not owe taxes...
Define each, explain the purpose, and who uses them: W-2 W-3 Also describe the steps to...
Define each, explain the purpose, and who uses them: W-2 W-3 Also describe the steps to complete each form.
Section 401 (K) plans: who can use them and who cannot use them. do these accounts...
Section 401 (K) plans: who can use them and who cannot use them. do these accounts typically provide sufficient income in retirement? EXPLAIN your answer
Think of interested parties who are using financial ratio analysis to help them in their decision-making. How do they use them?
Think of interested parties who are using financial ratio analysis to help them in their decision-making. How do they use them?
PART 5: Learn about commands used to view contents of files: use the cat command to...
PART 5: Learn about commands used to view contents of files: use the cat command to review the contents of the /home/test/passwd.bak type:   cat passwd.bak 2. now add the |more to the last command (see what happens when you push the up arrow curser key-it recalls the last command) 3. now try to cat the passwd.bak file but look at the first few lines and then the last few lines using the head and tail commands type:  head passwd.bak   and    tail...
Part 2 – Scripting Goals:  Write a bash script  Use linux shell commands within...
Part 2 – Scripting Goals:  Write a bash script  Use linux shell commands within your script  Provide user feedback  Use loops  Use conditionals Remember to use chmod +x to make your file executable! Each script is 5 points in the Specifications portion of the rubric. Don’t forget to maintain good standards and comments. Script 1 – Echo-back some information Write a script name hello.sh that will take the user’s first name as a command line...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT