Presentation is loading. Please wait.

Presentation is loading. Please wait.

C & Unix Final Session Review (… because I, too, can do PowerPoint …)

Similar presentations


Presentation on theme: "C & Unix Final Session Review (… because I, too, can do PowerPoint …)"— Presentation transcript:

1 C & Unix Final Session Review (… because I, too, can do PowerPoint …)

2 Intro to Linux Kernel (Linus Thorwal) + GNU Utilities = Linux Un-certified Unix variation Many distros with various highlights. E.g.:  Kernel + GNU Utils + X-Server + Gnome  Kernel + GNU Utils + X-Server + KDE Closely related to C programming language Text-file based configuration TCP/IP stack build-in from early on

3 Technical Details RAID Partitions DHCP Permissions and ownership

4 Shell Scripting Bourne-again shell bash Variables Loops Conditionals Pipes Redirection Job control

5 Special Utilities pico more grep sort uniq tar last, uptime, top, who (w) tail, head gzip, gunzip

6 Installing a “tar-ball” download “file.tar.gz” unzip + untar./configure make make install configure program options Our choice: “httpd”

7 Web Server Configuration httpd process owner document root index files and permissions access rights alias & redirect password protected web page CGI scripts Script (grep) driven phone-book db with search Httpd access log file

8 C Programming Simple C program Compile and link C program CGI script in C Makefile Makefile targets, dependencies, and commands Makefile dummy targets C program with complex numbers

9 Encryption SSH Public/private key encryption GPG Cluster computing

10 Other Programming Languages Awk: BEGIN {init-action} {action 1} {action 1} … END {final-action} Count how many times a user logged in Perl: Swiss-Army Knife of Scripting Languages scalars arrays (lists + index) hashes Program to count frequencies of words in a text file

11 VM – Virtual Machine VMware-player-2.0.3-80004.exe  Free VM player can execute VMs packaged for it Ubuntu_710_VMware_EN-2.rar  User-friendly Linux distro with Gnome Desktop 7z457.exe  FOSS compression/uncompress program Setup and configure to your taste  See configuration document


Download ppt "C & Unix Final Session Review (… because I, too, can do PowerPoint …)"

Similar presentations


Ads by Google