Linux Basics Prepared By: Eng. Amr AbdelFatah Eng. Amr AbdelFatah - Linux Basics
Roadmap What is Unix? What is Linux? Which Linux Distribution is better? Basic Commands List files Change directory Create directory Create file Move directory or file Eng. Amr AbdelFatah - Linux Basics
What is Unix? A multi-task and multi-user Operating System Developed in 1969 at AT&T’s Bell Labs by Ken Thompson (Unix) Dennis Ritchie (C) Douglas Mcllroy (Pipes - Do one thing, do it well) Some other variants: System V, Solaris, SCO Unix, SunOS, 4.4BSD, FreeBSD, NetBSD, OpenBSD, BSDI Eng. Amr AbdelFatah - Linux Basics
What is Linux? A clone of Unix Developed in 1991 by Linus Torvalds, a Finnish graduate student Inspired by and replacement of Minix Linus' Minix became Linux Consist of Linux Kernel GNU (GNU is Not Unix) Software Software Package management Others Eng. Amr AbdelFatah - Linux Basics
What is Linux? Originally developed for 32-bit x86-based PC Ported to other architectures, eg. Alpha, VAX, PowerPC, IBM S/390, MIPS, IA-64 PS2, TiVo, cellphones, watches, Nokia N810, NDS, routers, NAS, GPS, … Eng. Amr AbdelFatah - Linux Basics * See references at the end for the corresponding websites.
Linux based smartphone based-smartphone-operating-systems-that-arent-android/ Eng. Amr AbdelFatah - Linux Basics
Which Linux Distribution is better? > 300 Linux Distributions Slackware (one of the oldest, simple and stable distro.) Redhat RHEL (commercially support) Fedora (free) CentOS (free RHEL, based in England) SuSe ( based in German) Gentoo (Source code based) Debian (one of the few called GNU/Linux) Ubuntu (based in South Africa) Knoppix (first LiveCD distro.) … Eng. Amr AbdelFatah - Linux Basics
Which Linux Distribution is better? Eng. Amr AbdelFatah - Linux Basics Source: CentOS Ubuntu Knoppix Gentoo Slackware Redhat Debian
Navigation List the files in a directory ls Change directory cd directory_name On Unix-like operating systems the current directory is represented by a single dot and its parent directory (i.e., the directory that contains it) is represented by two consecutive dots. Thus, it is possible (and often convenient) to change to the parent of the current directory by using the following:dot cd.. Eng. Amr AbdelFatah - Linux Basics
Directory and file operations Create a new directory mkdir mydir1 Create a new file in a directory cd mydir1 nano file1.txt Copy a file cp file1.txt file1_copy.txt Delete a file or directory rm file1_copy.txt rm -r folder1 Eng. Amr AbdelFatah - Linux Basics
Directory and file operations Rename a file or folder mv file1.txt file12.txt mv folder1 folder2 Move file from one folder to another mv folder1/file1.txt folder2 Eng. Amr AbdelFatah - Linux Basics
References WeeSan Lee powerpoint Linux Distribution GNU/Linux Distro Timeline: Eng. Amr AbdelFatah - Linux Basics