CS-245 (Computing Systems) Exam 1 -- Linux

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

Why did we make a virtual machine?

It exposes us to Linux, which is a key industry technology and is directly related to the content of this course. Virtualization is also a key industry technology.

2
New cards

Summarize the main steps taken to create a Lunix VM (using VMWare Fusion).

  1. Acquire the operating system that you’re going to install into the VM (we used an iso file for ubuntu linux)

  2. Launch VMWare Fusion on the desktop mac and create a new virtual machine

  3. Fill in the details for your virtual machine, including pointing it to the operating system file, and fill out several forms

  4. Watch as the operating system installation process progresses and completes

  5. You have a working virtual machine !

3
New cards

What does the Linux command “pwd” do?

print working directory; shows what directory you’re in

4
New cards

What does the Linux command “cd” do?

change directory; will automatically change to home directory, and cd [var] will change you to that directory

5
New cards

What does the Linux command “ls” do?

list files; lists file names

6
New cards

What does the Linux command “ls -l” do?

lists file names in “long” form with extra information

7
New cards

What does the Linux command “ls [name; for example, cs245]” do?

lists files in the directory specified

8
New cards

What does the Linux command “mkdir” do?

make a new directory (within the directory you’re already in)

9
New cards

What does the Linux command “rmdir” do?

remove a directory (that has to be empty)

10
New cards

What would the following sequence of commands do?

$ cd

$ cat ../stella/myFile.txt

“cat” displays the contents of a file; this would display the contents of myFile.txt