NOTE: I have completed answers for your question along with
explanation. Please check and let me know if you have any
questions. I will revert back within 24 hours. Thanks for your
patience.
9) Ans: Execute
Explanation:
1) Always remember this. 4 - read, 2 - write and 1 - execute.
2) With that 7 means 4+2+1 which is read, write and execute
permission to owner whereas 11 represents only execute permission
for the other and group.
10) Ans:
here by document(<<) command is used to read input from the
current source which means instead of getting input from user or
some other source it gets input from the current source program
itself. Thats why it is called here document or heredoc.
11)
As per given line which is "widget: 1.59: 83"
1) In the awk script item will be captured the first column i.e.
widget.
2) price_per_unit will capture the second column i.e. 1.59
and
3) quantity_on_hand is captured as 83.
4) As unit_inventory_total is price_per_unit * quantity_On_hand.
131.97 is the unit_inventory_total and item will be widget.
5) So program prints "131.97 for widget"
9. The command "chmod 711 menu script" allows the owner read, write and execute permissions, and ...
1. Write the command to set the following permissions on a script file with the following name; myscript.sh Owner: full access; read, write and execute Group: read and execute Other: no access 2. Create a new file with the name "myfirstscript.sh". Write a new script that performs the following tasks in sequence; Display the usernames of currently logged in users; sorted from a-z HINT: You will need to filter the output of the whocommand Display a list of usernames who...