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)

CSCI 330 MIDTERM EXAM QUESTIONS COMPLETE WITH CORRECT ANSWERS

Rating
-
Sold
-
Pages
28
Grade
A+
Uploaded on
15-01-2026
Written in
2025/2026

CSCI 330 MIDTERM EXAM QUESTIONS COMPLETE WITH CORRECT ANSWERS Q.LS - ANSWERS-list files in current directory Q.pwd - ANSWERS-print the path of the current working directory Q.clear - ANSWERS-clear whatever was being displayed to the terminal Q.date - ANSWERS-prints the current date and time Q.passwd - ANSWERS-change the password of the current user Q.ls -l - ANSWERS-list more information on files in the current directory Q.ls -a - ANSWERS-show all the files in the directory including the hidden files Q.ls file - ANSWERS-shows the file named file if it exists Q.exit - ANSWERS-exits the current shell instance, logging out if none left Q.What is argc? - ANSWERS-Number of arguments (short for argument count) Q.What is argv? - ANSWERS-this is an array of C strings, one string per command line argument. Q.echo - ANSWERS-prints its command line arguments Q.more - ANSWERS-show content of file, page by page Q.logout - ANSWERS-logout from system Q.who - ANSWERS-displays who is on the system Q.script - ANSWERS-make record of the terminal session Q.uname - ANSWERS-print current OS detail(version etc) Q.man - ANSWERS-find and display system manual pages Q./ - ANSWERS-Root directory, top most directory in any UNIX file structure Q.~ - ANSWERS-Home directory. Directory owned by user, default location when user logs in Q.. - ANSWERS-current dirrectory, default location for working with files Q... - ANSWERS-Parent irectory immediately above the current directory Q.Absolute path - ANSWERS-traces a pth from root to a file or a directory. Always beings with the root (/) directory. EXAMPLE: /home/student/Desktop/ Q.Relative path - ANSWERS-a path that begins at the current working directory, no initial forward flash(/). EXAMPLE: Desktop/ Q.mkdir - ANSWERS-make a new directory Q.cd - ANSWERS-change directory Q.rmdir - ANSWERS-Removes an empty directory Q.rmdir -r - ANSWERS-Removes a directory that contains files Q.ls -t - ANSWERS-shows files sorted by time stamp

Show more Read less
Institution
CSCI 330
Course
CSCI 330

Content preview

CSCI 330 MIDTERM EXAM
QUESTIONS COMPLETE WITH
CORRECT ANSWERS



\Q\.LS - ANSWERS✔-list files in current directory



\Q\.pwd - ANSWERS✔-print the path of the current working directory



\Q\.clear - ANSWERS✔-clear whatever was being displayed to the terminal



\Q\.date - ANSWERS✔-prints the current date and time



\Q\.passwd - ANSWERS✔-change the password of the current user



\Q\.ls -l - ANSWERS✔-list more information on files in the current directory



\Q\.ls -a - ANSWERS✔-show all the files in the directory including the hidden files



\Q\.ls file - ANSWERS✔-shows the file named file if it exists



\Q\.exit - ANSWERS✔-exits the current shell instance, logging out if none left



\Q\.What is argc? - ANSWERS✔-Number of arguments (short for argument

,count)



\Q\.What is argv? - ANSWERS✔-this is an array of C strings, one string per

command line argument.



\Q\.echo - ANSWERS✔-prints its command line arguments



\Q\.more - ANSWERS✔-show content of file, page by page



\Q\.logout - ANSWERS✔-logout from system



\Q\.who - ANSWERS✔-displays who is on the system



\Q\.script - ANSWERS✔-make record of the terminal session



\Q\.uname - ANSWERS✔-print current OS detail(version etc)



\Q\.man - ANSWERS✔-find and display system manual pages



\Q\./ - ANSWERS✔-Root directory, top most directory in any UNIX file structure



\Q\.~ - ANSWERS✔-Home directory. Directory owned by user, default location when user logs in



\Q\.. - ANSWERS✔-current dirrectory, default location for working with files

, \Q\... - ANSWERS✔-Parent irectory immediately above the current directory



\Q\.Absolute path - ANSWERS✔-traces a pth from root to a file or a directory. Always beings
with the root (/) directory.

EXAMPLE: /home/student/Desktop/assign1.txt



\Q\.Relative path - ANSWERS✔-a path that begins at the current working directory, no initial
forward flash(/).

EXAMPLE: Desktop/assign1.txt



\Q\.mkdir - ANSWERS✔-make a new directory



\Q\.cd - ANSWERS✔-change directory



\Q\.rmdir - ANSWERS✔-Removes an empty directory



\Q\.rmdir -r - ANSWERS✔-Removes a directory that contains files



\Q\.ls -t - ANSWERS✔-shows files sorted by time stamp



\Q\.ls -S - ANSWERS✔-shows files sorted by file size



\Q\.ls -r - ANSWERS✔-shows files in reverse sorted order



\Q\.cp [source] [target] - ANSWERS✔-to copy

source - is one or more paths for items to copy

Written for

Institution
CSCI 330
Course
CSCI 330

Document information

Uploaded on
January 15, 2026
Number of pages
28
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.99
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.
IszackBd University Of Washington
Follow You need to be logged in order to follow users or courses
Sold
37
Member since
1 year
Number of followers
3
Documents
5358
Last sold
1 week ago
IszackBd Stuvia

Our store offers a wide selection of materials on various subjects and difficulty levels, created by experienced teachers. We specialize on NURSING,WGU,ACLS USMLE,TNCC,PMHNP,ATI and other major courses, Updated Exam, Study Guides and Test banks. If you don't find any document you are looking for in this store contact us and we will fetch it for you in minutes, we love impressing our clients with our quality work and we are very punctual on deadlines. Please go through the sets description appropriately before any purchase and leave a review after purchasing so as to make sure our customers are 100% satisfied. FOR ANY REQUEST FEEL FREE TO REACH US

Read more Read less
5.0

3 reviews

5
3
4
0
3
0
2
0
1
0

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