100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CS 265 FINAL EXAM - QUESTIONS WITH ANSWERS (LATEST, 2022) $18.49   Add to cart

Exam (elaborations)

CS 265 FINAL EXAM - QUESTIONS WITH ANSWERS (LATEST, 2022)

 2 views  0 purchase
  • Course
  • Institution

CS 265 FINAL EXAM - QUESTIONS WITH ANSWERS (LATEST, 2022)

Preview 2 out of 7  pages

  • April 29, 2022
  • 7
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CS 265 FINAL EXAM

CD (without argument) - takes you home

Kernel of the OS - the portion of the OS that interacts directly with computer hardware.
Communications between hardware and software.

File - a basic unit of storage

(T or F) Filenames are case sensitive - True

(T or F) Files in different directories cannot have identical names - False

What kind of files are hidden by ls, and other utilities? - files that start with .

Directory - a file that acts as a container for other files

Filesystem root - top level in filesystem hierarchy that holds all files and directories in the file
system

Filesystem root name - /

Pathname - includes name of the file, directory that holds that file, and every subsequent
directory up to the root

Absolute pathnames - starts at the root

2 absolute paths that don't start at the root - ~kschmidt/ & ~/

Your home directory - ~/

How are tokens separated in bash? - whitespace

Shell expects the first token to be - a command

Options (bash) - arguments that start with a dash, -, or two dashes, --

(CMD) ls - list contents of a directory

(CMD) ls -a - list contents of a directory including hidden files

(CMD) ls -l - list contents of a directory in long form

, (CMD) pwd - print current directory

(CMD) cd - change directory

What does cd do by default? - takes you home

(CMD) cat - concatenate (view text files)

(CMD) less/more - paging utilities

(CMD) od - octal dump used to view raw data

(CMD) rm - remove file

(CMD) cp - copy file

(CMD) mv - move file

What command would you use to rename a file? - mv

(CMD) mkdir - make directory

(CMD) rmdir - remove directory

How do you rename a directory? - mv

(CMD) tar - makes one large file from many smaller files

(CMD) head -n - displays first n lines of input

(CMD) tail -n - displays last n lines of input

(CMD) grep - search input using regular expressions

(CMD) sort - sorts inputs by lines

How does sort arrange records by default? - lexically

(CMD) sort -n - sort inputs by lines numerically

(CMD) sort -u - sort and remove duplicates

(CMD) uniq - removes identical, adjacent lines

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Bri254. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $18.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73773 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$18.49
  • (0)
  Add to cart