Commands Flashcards

1
Q

How to find commands if you do not it

A

man as in manual and (command) –help

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

Find the manual page of a command

A

man (Command) eg: man ls

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

Search for all programs related to “something”

A

man -k “something” eg: man -k browser

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

Delete

A

rm

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

Make a new directory

A

mkdir

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

Copy a file

A

cp

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

Output the contents of one or more files

A

cat (file name)

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

Send a file

A

(something) > (destination) eg: ls > folder

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

List everything on your system

A

find /

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

Friendly way of viewing text

A

less

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

List of everything in your computer in a friendlier way

A

find / | less

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

Get things online

A

sudo apt-get update

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

How to search for packages to install

A

apt-cache search “name of package”

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

Remove a program

A

sudo apt-get purge “name of program”

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

What is -dev in the end of packages names?

A

Used for compiling software

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

What does apt-get stand for?

A

application-get

17
Q

How to start a package once it is downloaded?

A

–where is synaptic

18
Q

How to unzip a file

A

tar zxvf
tar xjf if filename ends with .tar.bzip2
Creates a new directory which you CD into
Filenamed INSTALL, read using less INSTALL telling you how to continue with installation

19
Q

How to open configuration options

A

sudo raspi-config