C - PowerPoint PPT Presentation

About This Presentation
Title:

C

Description:

Shell Scripting. Bourne-again shell bash. Variables. Loops. Conditionals. Pipes. Redirection ... CGI script in C. Makefile. Makefile targets, dependencies, and ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 12
Provided by: bertgwa
Learn more at: http://pirate.shu.edu
Category:
Tags:

less

Transcript and Presenter's Notes

Title: C


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-actionltsearch pattern 1gt
    action 1ltsearch pattern 1gt action 1 END
    final-action
  • Count how many times a user logged in
  • Perl Swiss-Army Knife of Scripting
    Languagesscalarsarrays (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
Write a Comment
User Comments (0)
About PowerShow.com