ULI101 Summer Refresh 2012

From CDOT Wiki
Jump to: navigation, search

Web Programming Changes

  • currently last 2 weeks of course is xhtml/css intro
    • consider removing web content (last 2 weeks), and not expand unix content in uli101
    • this should not affect int222 or int213


CNS/CTY Changes

  • Structure of a BASH script
    • #!/bin/bash
    • arguments $#, $0, $1, $2, ...
    • return value $?
    • execute permission - chmod u+x
  • Pipelining
    • connect output to input as in ls | wc -l
  • File Redirection
    • redirect output to a file as in ls > mylist or ls >> mylist
  • I/O
    • echo command
  • BASH Filename Expansions
    • ls *, ls *.c