linux overview. architecture kernel file system shell: korn, bourne, c, bash x windows: motif, open...

8
Linux Linux overview overview

Upload: theodore-palmer

Post on 31-Dec-2015

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Linux Linux overviewoverview

Page 2: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Architecture

Kernel Filesystem

Shell: Korn, Bourne, C, Bash

X Windows: Motif, Open Look, X.Org

Desktop: Gnome, KDE,etc

Page 3: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Characteristics

multiuser multitask, multithread concurrency built-in networking (NFS) 32/64 - bit OS UNIX like Intel, Mac, Mainframes

Page 4: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Graphical user interface Visual tour of the GNOME Desktop

Desktop System Settings Search local Software Center File Manager Text Editor Terminal

Page 5: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Some applications Internet

Firefox Thunderbird gFTP

Libre Office Word processor Spreadsheet Presentation

Tools Screen capture PDF viewer Graphical editor Calendar/organizer

Page 6: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Linux at the shell prompt

You need to open a terminal System prompts

Korn, Bash and Bourne Shells: $ C Shell: % (root #) Linux: uses the bash shell

Commands login, logout news, passwd, who, finger, talk man (basic help) to interrupt Ctrl-C cat, more

Page 7: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Files and directories

File concepts filenames: up to 14 digits, one word including _ and .

e.g.: test_program and sales.report.1 case sensitive bold is not BOLD types: ordinary, directories, special devices and links pathnames: /home/abento/select.html

common names: usr, users, bin, etcfull and relative

Basic file commands in Linux How to obtain a directory listing: ls and ls -al How to create, remove, change to, and present working

directory: mkdir , rmdir , cd , pwd. How to copy, move, delete, type: cp , mv , rm -i , cat

Page 8: Linux overview. Architecture Kernel File system Shell: Korn, Bourne, C, Bash X Windows: Motif, Open Look, X.OrgX.Org Desktop: Gnome, KDE,etc

Reading a directory output

permis links Owner Group size date time filename -rwxr-xr-x 1 abento faculty 95 Aug 2 14:13 UBmail*-rw------- 1 abento faculty 4294 Mar 2 1995 Wp60lrwxr-xr-x 1 root sys 42 Aug 3 09:11 SoftWindows-rwx------ 1 abento faculty 32802 Oct 16 17:56 Xdefaults.swin*drwx--x--x 3 abento faculty 512 Aug 21 12:20 ais.dir/drwxr-xr-x 2 abento faculty 512 Aug 3 09:11 axhome/drwxr-xr-x 3 abento faculty 512 Sep 18 14:54 dumpster/-rwx--x--x 1 abento faculty 1179748 Aug 23 14:00 hcl95.hlp*-rw------- 1 abento faculty 312652 Jun 21 16:05 lviewp1b.zipdrwx------ 2 abento faculty 512 Aug 3 09:11 mail/-rw------- 1 abento faculty 957 Jun 16 17:00 osref.booksdrwxr--r-- 8 abento faculty 512 Aug 3 09:11 pub/drwx------ 9 abento faculty 512 Aug 3 09:11 root/-rw------- 1 abento faculty 2162 Oct 18 17:09 select.html

File type: - ordinary, d directory, l symbolic link, b block, c special character, p piped.

Permissions: r read, w write, x execute (O, G,W)

an example