Day 4 Flashcards Preview

Super Robot Monkey Team Hyper Force Go > Day 4 > Flashcards

Flashcards in Day 4 Deck (35):
1

Linux command used to add something to the existing Path statement.

PATH=$PATH:

2

Linux command to copy a file to a directory.

cp

3

When using the vi editor, the ___ key is used to search the document for a string.

/

4

When using the vi editor, the ___ key is used to delete the current character.

x

5

When using the vi editor, the ____ sequence of keys will display numbers, one for each line of text.

:set nu

6

Linux command to display the system time.

date

7

Linux command to view the last 10 lines of a file.

tail

8

When using the vi editor, the _____ sequence of keys will jump to line 1256 when the numbering feature is turned on.

:1256

9

Linux command to recursively copy all of the files in one directory to another.

cp -R

10

Linux utility that compresses files and saves them with a .gz file extension is _____.

gzip

11

When using the vi editor, the ___ key is used to cancel an unfinished command or to exit from insert mode at any time.

ESC

12

When using the vi editor, the ____ sequence of keys is used to delete the current line.

dd

13

Linux command to view the first 10 lines of a file.

head

14

Linux command to decompress a file that was compressed with the gzip compression tool is ________.

gunzip

15

Linux command to create a new, empty file.

touch

16

Linux command to view successfully ran commands is _______.

history

17

Linux command used to extract the contents of a file back to its original directory is _____.

tar xvf

18

When using the vi editor, the _____ key is used to insert above the current line.

O

19

Linux command to display the full path of the bash shell command is ______.

which bash

20

When using the vi editor, the ___ key is used to navigate the cursor one place to the right.

I

21

When using the vi editor, entering the ___ key while in command mode, allows access to the ex editor command set for writing, quitting and saving a file.

:

22

The symbol in Linux used to redirect the output of one file to the input of another is the _____.

| (pipe)

23

When using the vi editor, the ___ key is used to append after the cursor.

a

24

Linux command to view the current Path statement.

echo $Path

25

Linux command to display the current working directory.

pwd

26

Linux command used to display info about the user(s) logged in and what they are doing on the system is _____.

w

27

When using the vi editor, the ___ key is used to move the cursor one place up.

k

28

Linux command used to make a directory.

mkdir

29

Linux command used to display a snapshot status of all active processes to the terminal.

ps -elf

30

When using the vi editor, the ___ sequence keys will write or (save) the latest changes to the file.

:w

31

Linux command used to remove an empty directory.

rmdir

32

Linux command used to archive in full verbose mode.

tar cvf

33

Linux command used to create a typescript of the terminal session.

script

34

Linux command used to list the contents of a directory in a long format, displaying inode numbers, the number of file system blocks, and all files to include the hidden ones is ______.

ls -lisa

35

Linux used to view only the lines with a specific string is ______.

more *directory* | grep "string"