Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 3377 Exam 1 Review Questions With Correct Answers

Rating
-
Sold
-
Pages
35
Grade
A+
Uploaded on
23-05-2026
Written in
2025/2026

CS 3377 Exam 1 Review Questions With Correct Answers

Institution
CS 3377
Course
CS 3377

Content preview

CS 3377 Exam 1 Review Questions With
Correct Answers

cd - CORRECT ANSWER✔✔-change to another directory
| | | | | |




mkdir - CORRECT ANSWER✔✔-make a directory
| | | | |




cp - CORRECT ANSWER✔✔-copy a file
| | | | |




pwd - CORRECT ANSWER✔✔-display current working directory
| | | | | |




mv - CORRECT ANSWER✔✔-move a file to another location
| | | | | | | |




rm - CORRECT ANSWER✔✔-
| | |




rmdir - CORRECT ANSWER✔✔-delete a directory
| | | | |




ls - CORRECT ANSWER✔✔-list filenames and directories
| | | | | |




chmod - CORRECT ANSWER✔✔-change file security setting
| | | | | |

,man - CORRECT ANSWER✔✔-help manual
| | | |




Count the files that you own in all your directories (where your userid is
| | | | | | | | | | | | | |



myusername) - CORRECT ANSWER✔✔-ls -lR | grep myusername | wc -l | | | | | | | | | |




What UNIX command is used to update the modification time of a file
| | | | | | | | | | | | |



and/or change the file's access? - CORRECT ANSWER✔✔-touch
| | | | | | |




The file "mypage.html" has permissions set for read and write only for
| | | | | | | | | | | |



owner. Which of the following command will change the permissions so
| | | | | | | | | | |



that the file can be viewed on the WWW? - CORRECT ANSWER✔✔-
| | | | | | | | | | |



chmod og+r mypage.html | |




To list the permissions on files, which of the following commands will
| | | | | | | | | | | |



work? - CORRECT ANSWER✔✔-ls -l
| | | |




When you use the ln command, which of the following occurs? -
| | | | | | | | | | | |



CORRECT ANSWER✔✔-a file is created that points to an existing file
| | | | | | | | | |




(T/F) The command "grep -i hello" prints all the lines in file, not
| | | | | | | | | | | | |



containing the string "hello". - CORRECT ANSWER✔✔-false
| | | | | |

,Which expression shows the proper way to add the directory /usr/bin to
| | | | | | | | | | |



your path? - CORRECT ANSWER✔✔-PATH=$PATH:/usr/bin
| | | | |




Which of the following is not a UNIX file type?
| | | | | | | | |




plain file
|




special file |




batch file |




directory file - CORRECT ANSWER✔✔-batch file
| | | | |




How do you create a new directory called "flower"? - CORRECT
| | | | | | | | | | |



ANSWER✔✔-mkdir flower |




Which of these is not a common UNIX shell discussed in class (or
| | | | | | | | | | | | |



textbook or lecture)? | |




bash
sh
fresh
ksh - CORRECT ANSWER✔✔-fresh
| | |

, What is the command to search all files in your current directory for the
| | | | | | | | | | | | | |



word "hello"? - CORRECT ANSWER✔✔-grep hello *
| | | | | |




Which of the following is not a benefit of the fact that many UNIX
| | | | | | | | | | | | | |



commands operate on plain ASCII text files?
| | | | | |




the same file can be used by many programs
| | | | | | | |




output to the terminal and to files can be done in the same way
| | | | | | | | | | | | |




most current UNIX installations have a graphical user interface
| | | | | | | |




these commands can be used as filters for the output of other
| | | | | | | | | | | |



commands - CORRECT ANSWER✔✔-most current UNIX installations
| | | | | | |



have a graphical user interface
| | | |




Change the current directory to /usr/local/bin - CORRECT ANSWER✔✔-
| | | | | | | |



cd /usr/local/bin
|




Which command will print the contents of all files in the current
| | | | | | | | | | | |



directory whose names start with the character "a" and end with a
| | | | | | | | | | | |



period (".") followed by any two characters followed by a number? -
| | | | | | | | | | | |



CORRECT ANSWER✔✔-cat a*.??[0-9] | |

Written for

Institution
CS 3377
Course
CS 3377

Document information

Uploaded on
May 23, 2026
Number of pages
35
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lectphilip West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
263
Member since
2 year
Number of followers
6
Documents
24100
Last sold
2 days ago
WELCOME TO LECTPHILIP, A PLACE WHERE WE UNLOCK YOUR ACADEMIC OPPORTUNITIES

On this page, you find all documents, package deals and flashcards offered by seller lectphilip

4.0

41 reviews

5
20
4
8
3
9
2
2
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions