Linux (Terminal) commands Flashcards

1
Q

ls (LS)?

A

LIST the files in the current directory.

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

grep

A

Search for a pattern of text in files and display the results.

This command helps find files with specific words or phrases.

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

pwd

A

Show the directory currently in, the WORKING DIRECTORY. Not to be confused with passwd

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

cd

A

CHANGE DIRECTORY Change from one directory to another.

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

mv

A

MOVE a file to a specific directory

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

cp

A

COPY a file.

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

rm

A

Delete /REMOVE a file or directory.

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

chown

A

CHange the OWNER of a particular file or directory.

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

chmod

A

CHange/ MODIFY file permissions.

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

shutdown

A

Shut down the system

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

passwd

A

Change the PASSWORD for a user account.

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

iwconfig

A

Display information about your WIRELESS network adapters and addressing configuration.
*like ipconfig

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

ifconfig

A

Display information about your WIRED network adapters and addressing configuration.
*like ipconfig

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

ps

A

PRINT/ Display the running SYSTEM processes. You can use this to troubleshoot system problems.

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

kill

A

Send a signal to end a process or modify its behavior.

Used to stop malfunctioning programs, or restart system daemons.

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

su

A

Login as a SUPERUSER from your current login.

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

sudo

A

Execute a command as another user.

Can be used to simulate users with higher privileges and execute commands at that privilege level.

pseudo = copy of.., likeness to.., or imitate

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

apt-get

A

Updating, upgrading, or installing packages/ apps.

19
Q

vi (Visual Editor)

A

Edit text files

20
Q

dd (Data Duplicator)

A

Convert and copy a file/data.

21
Q

clear

A

Clear the Terminal screen.

22
Q

what terminal command-line utility is for listing the contents of a directory or directories?

A

ls

List directory command

23
Q

what terminal command-line utility

searches a file for a particular pattern of characters, and displays all lines that contain that pattern.

A

The grep command

Globally Search for Regular Expression and Print out

24
Q

what terminal command-line utility is used to Show the active working directory?

A

pwd

Print Working Directory command

25
Q

what terminal command-line utility is used to change from one directory to another.

A

cd

Change Directory command

26
Q

what terminal command-line utility is used to move a file to a specific directory.

A

mv

Move Directory command

27
Q

Linux command used to Copy a file.

A

cp

Copy command

28
Q

Linux command used to delete/ remove a file or directory.

A

rm

Remove command

29
Q

Which terminal command-line utility is used to Change specific file or directory’s OWNership.

A

chown

change owner command

30
Q

Linux command used to Change/Modify file permissions.

A

chmod

31
Q

Which terminal command-line utility is used to shut down the system?

A

shutdown

32
Q

Linux command used to change the password for a user account?

A

passwd

33
Q

Which terminal command-line utility is used to Display information about your WIRELESS network adapters and addressing configuration?

A

iwconfig

34
Q

Linux command used to Display information about your WIRED network adapters and addressing configuration.

A

ifconfig

35
Q

Which terminal command-line utility is used to troubleshoot system problems, and display the running system processes?

A

ps

36
Q

Linux command used to send a signal to end a process or modify its behavior. Used to stop malfunctioning programs, or restart system daemons?

A

kill

37
Q

Which terminal command-line utility is used to login as a SUPERUSER from your current login.

A

su

38
Q

Which terminal command-line utility is used to execute a command as another user?

A

sudo

pseudo = copy of.., likeness to, or imitation

39
Q

Linux command used when updating, upgrading, or installing packages/ applications.

A

apt-get

40
Q

Linux command used to edit text files.

A

vi

visual editor

41
Q

Linux command used to copy and convert a file/data.

example: Backup and restore the entire hard disk or partition

A

dd

data duplicator

42
Q

Which terminal command-line utility is CLEAR the Terminal screen?

A

clear

43
Q

In Linux, a running instance of a program is called PROCESS. Which terminal command is used to view active processes

A

ps

44
Q

Can be used to simulate users with higher privileges and execute commands at that privilege level.

A

sudo