Commands Flashcards
How to find commands if you do not it
man as in manual and (command) –help
Find the manual page of a command
man (Command) eg: man ls
Search for all programs related to “something”
man -k “something” eg: man -k browser
Delete
rm
Make a new directory
mkdir
Copy a file
cp
Output the contents of one or more files
cat (file name)
Send a file
(something) > (destination) eg: ls > folder
List everything on your system
find /
Friendly way of viewing text
less
List of everything in your computer in a friendlier way
find / | less
Get things online
sudo apt-get update
How to search for packages to install
apt-cache search “name of package”
Remove a program
sudo apt-get purge “name of program”
What is -dev in the end of packages names?
Used for compiling software
What does apt-get stand for?
application-get
How to start a package once it is downloaded?
–where is synaptic
How to unzip a file
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
How to open configuration options
sudo raspi-config