CISC210 final

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/40

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:42 PM on 5/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

41 Terms

1
New cards

SSH stands for

Secure shell

2
New cards

Which of the following are true?

a. Linux Torvalds is solely responsible for Linux.

b. There are many LINUX distributions.

c. LINUX is a derivative of UNIX

d. There have been many variants of UNIX

b, c, d

3
New cards

CLI stands for

Command Line Interface

4
New cards

man ls will show you the manual page for ls command. ls has many options. Which one is used to reverse the default ordering of the listings?

-r

5
New cards

Which option can be used to recursively search subdirectories

-R

6
New cards

Cat is short for

Concatenate

7
New cards

enter man tail.

Enter command that will output the last line of the file myfile.csv

tail -n 1 myfile.csv

8
New cards

grep command

... used to search for a string inside of a file and print the lines in which it appears like this:

grep thestring thefile

9
New cards

Touch command has 2 main uses

Change timestamp on a file and create an empty file with a given name.

To create empty file named nonsense : touch nonsense

10
New cards

mkdir command

Creates a directory

11
New cards

Under command to create a directory, called top, a subdirectories of top, called middle, and a subdirectories of middle called the bottom

mkdir top

cd top

mkdir middle

cd middle

mkdir bottom

12
New cards

Make subdirectories of top called nope and yep. Make an empty file in nope, called reasons .txt. Make an empty file in yep called unreasons.csv

mkdir top/nope top/yep

touch top/nope/reasons.txt

touch top/yep/unreasons.txt

13
New cards

sd1 is a subdirectory of the current directory and has a file called thefile. Move the file to another (already existing subdirectory) of the current directory called sd2 (keeping same file name)

mv sd1/thefile sd2/

14
New cards

T/F: option arguments, and regular arguments to bash commands, are sometimes optional

T

15
New cards

How many option arguments does the below command have? -l -a -f/etc /bin

3

16
New cards

Enter command that will cause "Bonjour, monde!" to appear in the terminal

echo "Bonjour, monde!"

17
New cards

What command could you use to list the files in the current working directory

ls

18
New cards

Which are correct regarding UNIX file names?

a. File names are Case sensitive. (File and file are diff)

b. Spaces are allowed in file names, but make it hard to work with.

c. There can be files with the same name in two different directories.

d. File names must start with the letter.

e. "/root" Is the top directory in the UNIX file system

abc

("/" is the root directory)

19
New cards

When a directory is removed by the command: rm -rf directoryname , what do the options r and f stand for?

Recursively

Forcefully

20
New cards

Enter commands to make a directory called "bus" in the parent directory of your current directory and create a file called "driver" under "bus"

mkdir ../bus

cd ../bus

touch driver

21
New cards

Enter commands to make a directory called "bus" in your current directory and copy an already-existing file "driver" into "bus"

mkdir bus

cp driver bus/

22
New cards

Enter a bash command to run

ping go.cis.udel.edu

in the background so that other commands can still be entered

ping go.cis.udel.edu &

23
New cards

Enter commands to make a directory called "lantern" in your current directory and a directory called "oil" under that. Change the current working directory to "oil"

mkdir lantern

cd lantern

mkdir oil

cd oil

24
New cards

Which Grep command is used for invert the sense of matching to select non-matching lines?

-v

25
New cards

What will append the output of the cal command to the file out.txt (without trunking or deleting the contents of out.txt)?

cal >> out.txt

(command >> filetoappend)

26
New cards

What file is created by compiling with gcc?

a.out

27
New cards

What command creates a new local copy of an existing repository

git clone

28
New cards

After you've worked on a project for a while, you should

Commit then push

29
New cards

Parent id of a process is..

The number that uniquely identifies the process that started the process in question

30
New cards

Single line comment vs multi

//

/ /

31
New cards

Order of git pushing

Git pull, git add, git commit, git push

32
New cards

printf format

Character array/str- %s

Literal percent character- %%

Double/float- %f

Char- %c

Int- %d

33
New cards

A variable has been declared and initialized: int x=9;

How would you assign the ADDRESS of the memory location at which 9 is stored to a previously declared p2x?

p2x=&x;

34
New cards

Designate a place for the program to pause execution

Break(b)

35
New cards

Indicate a variable or memory location that will cause the program to pause when the value is changed

watch (w)

36
New cards

Execute the program currently being debugged

Run (r)

37
New cards

Execute the current line, including completing any function calls and stop on the next line

Next (n)

38
New cards

Execute the current line, and stop on the next line to be executed, even if the next line is inside of a function call

Step (s)

39
New cards

What compiles a source code file called hello.c into an executable called greeting?

cc -o greeting hello.c

40
New cards

What would be true in an if statement

"no", 2.2, 0, -1, 0.0, 1

"No"

2.2

-1

1

41
New cards

Make file is most like

A recipe book