Basic Ubuntu cmds Flashcards

Study basic commands

1
Q

ss

sudo

A

Linux command allows you to run programs or other commands with administrative privileges

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

ss

apt-get

A

used to install, update, upgrade and remove any package

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

ss

sudo apt-get update

A

update with super user privileges

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

ss

sudo apt-get upgrade

A

After updating the package database, next step is to to upgrade the installed packages

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

ss

sudo apt-get install

A

easily install a program using this command

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

ss

sudo apt-get remove

A

removing the installed program

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

ss

sudo apt-get purge

A

used when you want to remove a software completely from your system with its configuration

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

ss

sudo apt-get autoremove

A

used to remove any unnecessary packages

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

ss

ls

A

lists all files and folders in your current working directory

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

ss

cd

A

change director

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

ss

cd /

A

Takes you to the root directory

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

ss

cd ..

A

Takes you up one directory level

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

ss

cd �

A

Takes you to the previous directory

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

ss

pwd

A

print working directory

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

ss

cp

A

allows you to copy a file

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

ss

mv

A

allows you to move files

17
Q

ss

rm

A

removes the specified file

18
Q

ss

mkdir

A

allows you to create a new directory or file

19
Q

ss

history

A

displays all of your previous commands up to the history limit

20
Q

ss

df

A

displays information about the disk space usage of all mounted file systems

21
Q

ss

du

A

displays the size of a directory and all of its subdirectories

22
Q

ss

free

A

Displays the amount of free space available on the system

23
Q

ss

top

A

Displays the processes using the most system resources at any given time

24
Q

ss

passwd

A

used to change user password using Terminal

25
Q

ss

Ctrl + Shift + T

A

Open new tab on current terminal

26
Q

ss

Ctrl + Shift + W

A

Close the current tab

27
Q

ss

Ctrl + A

A

Move cursor to beginning of line

28
Q

ss

Ctrl + E

A

Move cursor to end of line

29
Q

ss

Ctrl + U

A

Clears the entire current line

30
Q

ss

Ctrl + K

A

Clears the command from the cursor right

31
Q

ss

Ctrl + W

A

Delete the word before the cursor

32
Q

ss

Ctrl + R

A

Allows you to search your history for commands matching what you have typed

33
Q

ss

Ctrl + C

A

Kill the current process

34
Q

ss

Ctrl + Z

A

Suspend the current process by sending the signal SIGSTOP; SIGSTOP signal instructs the operating system to stop a process

35
Q

ss

Ctrl + L

A

Clears the terminal output

36
Q

ss

Alt + F

A

Move forward one word

37
Q

ss

Alt + B

A

Move backward one word

38
Q

ss

Ctrl + Shift + C

A

Copy the highlighted command to the clipboard

39
Q

ss

Ctrl + Shift + V or Shift + Insert

A

Paste the contents of the clipboard