90 likes | 252 Views
Linux overview. Architecture. Desktop : Gnome, KDE,etc. X Windows : Motif, Open Look, X.Org. Shell : Korn, Bourne, C, Bash . File system. Kernel. Characteristics. multiuser multitask, multithread concurrency built-in networking (NFS) 32/64 - bit OS UNIX like
E N D
Architecture Desktop: Gnome, KDE,etc X Windows: Motif, Open Look, X.Org Shell: Korn, Bourne, C, Bash File system Kernel
Characteristics multiuser multitask, multithread concurrency built-in networking (NFS) 32/64 - bit OS UNIX like Intel, Mac, Mainframes
Graphical user interface Visual tour of the GNOME Desktop Desktop Toolbars Applications Places System: Preferences and Administration File Manager Services Networking Text Editor Terminal
Some applications Internet Firefox Thunderbird gFTP OpenOffice Word processor Spreadsheet Presentation Tools Screen capture PDF viewer Graphical editor Calendar/organizer
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
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, etc • full 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
Reading a directory output an example 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 Wp60 lrwxr-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.zip drwx------ 2 abento faculty 512 Aug 3 09:11 mail/ -rw------- 1 abento faculty 957 Jun 16 17:00 osref.books drwxr--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)