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
# ss Ctrl + Shift + T
Open new tab on current terminal
26
# ss Ctrl + Shift + W
Close the current tab
27
# ss Ctrl + A
Move cursor to beginning of line
28
# ss Ctrl + E
Move cursor to end of line
29
# ss Ctrl + U
Clears the entire current line
30
# ss Ctrl + K
Clears the command from the cursor right
31
# ss Ctrl + W
Delete the word before the cursor
32
# ss Ctrl + R
Allows you to search your history for commands matching what you have typed
33
# ss Ctrl + C
Kill the current process
34
# ss Ctrl + Z
Suspend the current process by sending the signal SIGSTOP; SIGSTOP signal instructs the operating system to stop a process
35
# ss Ctrl + L
Clears the terminal output
36
# ss Alt + F
Move forward one word
37
# ss Alt + B
Move backward one word
38
# ss Ctrl + Shift + C
Copy the highlighted command to the clipboard
39
# ss Ctrl + Shift + V or Shift + Insert
Paste the contents of the clipboard