Bascis Flashcards

1
Q

Command Line Basics

most popular Linux shell

A

bash

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

Command Line Basics

output text on the terminal

A

echo

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

Command Line Basics

list contents of directory

A

ls

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

Command Line Basics

show specific command is executed

A

type

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

Command Line Basics

Create an empty file or update an existing file’s modification date.

A

touch

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

Command Line Basics

Bash Shell

A

Bourne-again shell

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

Command Line Basics

ssh or tcsh - enhanced csh

A

C shell

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

Command Line Basics

ksh

A

Korn shell

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

Command Line Basics

zsh

A

Zshell

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

Command Line Basics

name of user running shell

A

username

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

Command Line Basics

name of the host on which shell runs

A

hostname

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

Command Line Basics

directory that shell is currently in

A

current_directory

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

Command Line Basics

this symbol ~

A

home directory

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

Command Line Basics

shell_type indicates run by regular user

A

$

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

Command Line Basics

shell_type indicates run by root user

A

#

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

Command Line Basics

command breakdown

ls -l /etc

A

cmd: ls
option: -l
argument: /etc

17
Q

Command Line Basics

command breakdown

ls -l -a

A

cmd: ls
option: -l -a
argument:

18
Q

Command Line Basics

command breakdown

cd /home/usr

A

cmd: cmd
option:
argument: /home/user

19
Q

Command Line Basics

find information about Shell builtin

A

cd

20
Q

Command Line Basics

find information about External command

A

cat

21
Q

Command Line Basics

find information about Shell builtin

A

exit

22
Q

Command Line Basics

command result

touch “$USER”

A

mike

23
Q

Command Line Basics

command result

touch “touch”

A

empty file named touch

24
Q

Command Line Basics

command used to express a range of numbers

ls
game1 game2 game3 game4 game5

A

touch game{1..5}

25
Q

Command Line Basics

command used to remove a range of numbers

ls
game1 game2 game3 game4 game5

A

use ?

rm game?

26
Q

Command Line Basics

by what facility can you make commands interract with eachother

A

Use the |
piping command