Linux introduction

cc-by-sa Tomer Cohen

Blog post: http://tomercohen.com/?p=1400 (Hebrew)

Content used in this presentation from various sources, including Wikipedia and xkcd. Sources available in the commit messages. Feel free to fork this presentation and use it for your own needs. I'd be happy to hear if you find it useful.

Linux introduction

Tomer Cohen, http://tomercohen.com/

History

Unix

GNU

GNU

Linux

Hello everybody out there using minix -

I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) among other things).

Linus Benedict Torvalds, comp.os.minix Newsgroup, August 25th 1991

Linux kernel + GNU software =

GNU/Linux

Linux

GNU/Linux Distributions

Fedora Red Hat

GNU/Linux is everywhere

Linux GUI

XFCE 4.10 Desktop
Cinnamon
KDE 4
Unity 5.12
GNOME 3.6

Linux GUI

Linux software

Linux software repositories

Linux user permissions

Linux user policy

Linux file permissions

Linux filesystem structure

In Linux, everything lives in a logical filesystem…

Linux filesystem structure

Advanced Linux

Why CLI?

Most operating systems have Command Line Interface in addition to the Graphical UI.

Linux isn't different. In fact, almost everything in Linux can be done from the command line.

Local and remote

Filesystem commands

Permissions commands

Miscellaneous commands

Standard Streams

Linux contain three different streams:

Stream Redirection

 

Linux Plumbering

The pipe operator | use the output of one command as the input to the second command.

It allow us run few commands in a batch so each command will process the output of the previous command.

Single Line scripting

$ date # Show current time/date
	Wed Mar 20 23:18:55 IST 2013
	$ date | grep -o ..:..:.. # Extract the time pattern
	23:18:55
	$ ls | grep [א-ת] > list.txt # Find files contains Hebrew letters and write these to a file

Scripting

Thanks!

Tomer Cohen, http://tomercohen.com

Presentation slides available online: http://tomer.github.com/linux101

Fork me on Github