IT 244: Introduction to Linux/Unix
Class 17 Ungraded Quiz
-
What is the value of the file descriptor for Standard Input?
-
What is the value of the file descriptor for Standard Output?
-
What is the value of the file descriptor for Standard Error?
-
If you wanted to run the executable file backup.sh in your current directory,
but wanted the error messages to disappear, what would you write at the command line?
-
If you wanted to run the executable file backup in your current directory,
but wanted BOTH the output and the error messages to go to the file results.txt,
what would you write at the command line?
-
What would you type at the command line, if you wanted to make the script cheer.sh
executable?
-
Write the hashbang line we use for scripts in this course.
-
Write the hashbang line you would use if you wanted a script to run using the
sh
shell.
-
Name the three categories of people who might need to read a shell script.
-
What command would you use to make the changes you made in the startup file for your login shell take effect?