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
what terminal command-line utility is used to change from one directory to another.
cd | Change Directory command
26
what terminal command-line utility is used to move a file to a specific directory.
mv | Move Directory command
27
Linux command used to Copy a file.
cp | Copy command
28
Linux command used to delete/ remove a file or directory.
rm | Remove command
29
Which terminal command-line utility is used to *Change* specific file or directory's *OWNership*.
chown | change owner command
30
Linux command used to *Change*/*Modify* file permissions.
chmod
31
Which terminal command-line utility is used to shut down the system?
shutdown
32
Linux command used to change the password for a user account?
passwd
33
Which terminal command-line utility is used to Display information about your WIRELESS network adapters and addressing configuration?
iwconfig
34
Linux command used to Display information about your WIRED network adapters and addressing configuration.
ifconfig
35
Which terminal command-line utility is used to troubleshoot system problems, and display the running system processes?
ps
36
Linux command used to send a signal to end a process or modify its behavior. Used to stop malfunctioning programs, or restart system daemons?
kill
37
Which terminal command-line utility is used to login as a *SUPERUSER* from your current login.
su
38
Which terminal command-line utility is used to execute a command as another user?
sudo pseudo = copy of.., likeness to, or imitation
39
Linux command used when updating, upgrading, or installing packages/ applications.
apt-get
40
Linux command used to edit text files.
vi | visual editor
41
Linux command used to copy and convert a file/data. | example: Backup and restore the entire hard disk or partition
dd | data duplicator
42
Which terminal command-line utility is CLEAR the Terminal screen?
clear
43
In Linux, a running instance of a program is called PROCESS. Which terminal command is used to view active processes
ps
44
Can be used to *simulate* users with higher privileges and execute commands at that privilege level.
sudo