Linux Flashcards

1
Q

What does “cd ~ “ do?

A

Change directory to “Home”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the “history” command do?

A

Lists last 500 commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

bsh

A

Bourne SHell; outdated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

bash

A

Bourne Again SHell; Updated bsh, most common default shell in Linux flavors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

cp vs dd

A

cp=copy

dd=copy at bit level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rm

A

remove

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

grep

A

Search lines for a specified string

grep [options] [pattern] [file]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the /dev/zero file contain?

A

/dev/zero is a file with unlimited zeros.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

RegEx: grep ‘.at’

A

Cat, Hat, Rat, etc.

. = Any single character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

RegEx: grep ‘[CAT]at’

A

Cat, Aat, Tat

[ ] = Any specified character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

RegEx: grep ‘^at’

A

At, ate
Not: Cat, hat
^ = Only when the string is at the beginning of a line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ifconfig vs iwconfig

A

iwconfig shows network configuration for wireless network interfaces only..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the TTY of a process?

A

The name of the terminal the process is running in.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a PID?

A

Process Identifier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ps command

A

Displays all processes running in the terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ps -e

A

Displays all processes running on the host, rather than just the terminal.

17
Q

Define “pre-emptive multi-tasking”

A

When the computer rapidly switches between tasks the

CPU focuses on to give the appearance of multi-tasking

18
Q

Mail Transfer Agent (MTA)

A

Determines which server needs to receive the email to be able to forward it to the correct host and uses SMTP to move it there.

19
Q

Mail Delivery Agent (MDA)

A

Transfers the email to the user’s inbox.

20
Q

POP/IMAP Server

A

Allow the email client on your computer to receive an email from a remote server.

21
Q

What language is Linux written in?

A

C

22
Q

Compiled vs interpreted language

A

Interpreted: Translates written code into computer code as it runs
Compiled: Translated all at once

23
Q

Describe C Language

A

Compiled language. Designed to be small and efficient, due to it’s age and lack of processing power when it was created.

24
Q

Test

A

Test

25
Q

Describe Java

A

Compiled language. Images hypothetical CPU called Java Virtual Machine and compiles code to that.

26
Q

Describe Perl

A

Interpreted. Developed for text manipulation.

27
Q

Describe PHP

A

Developed to create dynamic web pages.

28
Q

Ruby

A

Influenced by Perl. Makes complicated programming tasks easier.

29
Q

What does FLOSS stand for?

A

Free/Libre/Open Source Software

Sometimes simply FOSS

30
Q

WHat is “gufw”?

A

the Graphical Uncomplicated FireWall that comes default with Linux.