#Assignment 1: Write a bash program
#to format the list elements in an XHTML source file.
echo "*XHTML List Element formatter*"
echo "Date: May 7th, 2015"
echo "To use the program, ple
Set Future Default Permissions
umask # shows current value
cat > file1 # create a new file
qwerty # type these (or any other) printable characters
^D # end of input
ls -l # notice the permissions of file1
umask 077 # change default permissions
Internet Engineering Task Force
publishes RFC (Request For Comment) documents
example: RFC 3439
TCP/IP uses a flexible 4-layer model. The layers do not
correspond exactly to the 7 more rigorously defined OSI layers.
alternation logical OR
A regular expression (regex) is a pattern matching expression
similar to but more powerful than a shell wildcard. Regular
expressions appear in many text processing utilities, text
editors, and programming langua
emacs (Editor Macros) is a full-featured, programmable text editor written
in a version of Lisp. The user interface is designed to work on character
terminals, though a GUI is also supported.
A few emacs terms:
memory area containing t
bash scripting, variables
read and write
x=foo # assign a (string) value)
echo x # write a literal x to STDOUT
echo $x # write the value of the variable x to STDOUT
echo $cfw_x # same as above, cfw_ used to remove ambiguity
echo -e $x