1
edit
Changes
no edit summary
13. What command would you use to set the permission on a script so that only the script's owner could execute it? All other users should have no access to the script.
===14. Write the correct bash syntax to run the command "foo", taking the input from the file "hot", placing the output in the file "cold", and placing error message in the file "warm".===ANSWER: cat < hot > cold 2>warm (I use cat instead of "foo") ''PopCon''
===15. Write the correct bash syntax to run the command "bar", taking the input from the file "up", and sending the output and error messages to the command "baz".=== cat < up > baz 2>&1 (again I use cat instead of "bar") ''PopCon''
===16. Write a bash script to display all of the odd numbers from 1 to 99 with one space between each number.===