
INT301
Authored by Shivali C
Computers
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the pwd command accomplish?
It prints the name of the working directory.
It changes the current working directory.
It prints wide displays on narrow paper.
It parses Web page URLs for display.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How do the > and >> redirection operators differ?
The > operator creates a new file or overwrites an existing one; the >> operator creates
a new file or appends to an existing one.
The > operator creates a new file or overwrites an existing one; the >> operator
appends to an existing file or issues an error message if the specified file doesn’t exist.
The > operator redirects standard output; the >> operator redirects standard error.
The > operator redirects standard output; the >> operator redirects standard input.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You want to discover the sizes of several dot files in a directory. Which of the following
commands might you use to do this?
ls -la
ls -p
ls -R
ls -d
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following commands would you type to enable world read across access to the
file myfile.txt? (Assume that you’re the owner of myfile.txt.)
chmod 741 myfile.txt
chmod 0640 myfile.txt
chmod u+r myfile.txt
chmod o+r myfile.txt
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is a shell script?
group of commands
a file containing special symbols
a file containing a series of commands, written to perform certain task(s).
group of functions
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The first line in any shell script begins with a _____
&
!
$
#
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To run the script, we should make it executable first by using _____
chmod +x
chmod +r
chmod +w
chmod +rwx
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?