Linux Flashcards
LINUX HISTORY
<=============>
LINUX HISTORY
<=============>
When was linux started?
Linux is based on the unix operating system which was created in 1969 by Ken Thompson and Dennis Ritchie. In 1991 Linus Torvalds started working on the Linux kernel.
General
<========>
General
<========>
What are the three main parts of a Linux system?
The Hardware such as cpu, memory and disks.
The Kernel which is the core of the operating system, it manages the hardware and tells it how to interact with the system.
The User Space is where user are allowed to interact with the system.
What are the main distros of Linux currently?
Debian - Made up of only open-source software, known for being stable.
Red Hat Enterprise Linux - mostly used by enterprise.
Ubuntu - based on Debian
Fedora - is the base for red Hat
Linux Mint - is a lightweight version of Ubuntu
Gentoo - highly configurable for advance users.
Arch Linux - for advance users
OpenSUSE - completely open source second oldest distro.
COMMAND LINE
<============>
COMMAND LINE
<============>
What is the shell?
The shell is a program that takes your commands and passes them to the operating system to perform. The default shell for most Linux systems bash(bourne again shell)
$ echo hello world
This command simple echos the arguments to standard out.
$pwd
“Print working directory”
Prints the directory you are currently in.
Absolute path?
The absolute path starts from the root directory ‘/’ and ends with your destination directory.
Relative path?
A realative path starts from your current directory and end at your destination directory.
$cd
“change directory”
Is a tool that allows you to move from one directory to another. It can take an absolute or relative path.
$ cd /home/pete/Pictures
Shortcuts
cd . Current directory
cd .. parent directory
cd ~ home directory
cd - previous directory