User Tools

Site Tools


opus:fall2013:aforce2:journal

UNIX/Linux Fundamentals Journal

Aug. 30th, 2013

Learned I/O Streams

* 0 STDIN * 1 STDOUT * 2 STDERR

=Redirections=

* > OUT write * » OUT append * 2> ERR write * 2» ERR append

Sept. 4th, 2013

Learned some more basic commands

cp-copy
mv-move
rm-remove
ln-link
rm -i = are you sure
rm -f = force close
rmdir=remove directory
rm -rf=Remove all in and directory
*=Everything

Sept. 6th, 2013

Learned about permissions

R-Read
W-Write
X-Executable

Chmod=change permission

User-Group-Other

-rwx-rwx-rwx

R = 4
W = 2
X = 1

Learned About Wildcards

* 0 or more of anything
? 1 of any character
[] 1 of any enclosed
[^] do not match any of the enclosed

Sept. 11th, 2013

Learned about VI/Vim - Visual Editor

*Can Make Scripts

*Navigation

*Modification

*Etc.

Sept. 20, 2013

Learned About Regular Expressions.
  • Makes finding files and such much easier and simplified.

. match any single symbol
* 0 or more of the previous
\< match start of word
\> match end of word
(^) match the start of the line
$ match the end of the line
[] match one of the enclosed
[^] do not match any of enclosed
() grouping

Sept. 25, 2013

===Learned about loops===

for1);do

learned XTE

xte “mousemove 0 0”
xte “mouseclick 1”
xte “mousedown 1”
xte “mouseup 1”
etc.

Oct. 2nd, 2013

Learned about Arrays
Make it easier to go pixel by pixel

Oct. 4th, 2013

Learned about different scripts and programs.

Html
Bash
VbScript
php
python
java

Compiled
C
C++
Pascal
Fortran
Bcpl

Learned how to create C script

Compile > -Wall -0 “name” “name.c”
Run > ./“name”

OCT. 23rd, 2013

lab46:~$

telnet mail 25

Trying 10.80.2.17… Connected to mail.offbyone.lan. Escape character is '^]'. 220 mail.offbyone.lan ESMTP Postfix (Debian/GNU)

HELO Heaven.net

250 mail.offbyone.lan

MAIL FROM: god@heaven.net

250 2.1.0 Ok

RCPT TO: aforce2@lab46

250 2.1.5 Ok

DATA

354 End data with <CR><LF>.<CR><LF>

Subject: Hello MY Son
Hello

. 250 2.0.0 Ok: queued as 01FD218B5A

Oct. 30, 2013

using expressions to clean up

sed 's/"Fill in here"//g' |
lab46:~$ cat winter2014-20131025.html | egrep '(^<th class="ddtitle)|(^<td class="dddefault)' | sed 's/<abbr title="Primary">P<\/abbr>//g' |  sed 's/<\/td>//g' | sed 's/<\/th>//g' | sed 's/<\/a>//g' | sed 's/<td class="dddefault">//g' |  sed 's/<th class="ddtitle" scope="colgroup">//g' | sed 's/<a href="https:\/\/bssprod.corning-cc.edu\/PROD\/bwckschd.p_disp_detail_sched?term_in=201420&amp;crn_in=94002">//g' | sed 's/<img src="winter2014_files\/web_email.gif" alt="E-mail" class="headerImg" title="E-mail" name="web_email" align="middle" border="0" height="28" hspace="0" vspace="0" width="28">//g' | sed 's/<a href="https:\/\/bssprod.corning-cc.edu\/PROD\/bwckschd.p_disp_detail_sched?term_in=201420&amp;crn_in=.....">//g' | sed 's/ ()<a href="//g' | sed 's/" target="//g' | sed 's/">//g' | sed 's/<abbr title="//g' | sed 's/<\/abbr>//g' | sed '/^$/d'

MONTH Day, YEAR

This is a sample format for a dated entry. Please substitute the actual date for “Month Day, Year”, and duplicate the level 4 heading to make additional entries.

As an aid, feel free to use the following questions to help you generate content for your entries:

  • What action or concept of significance, as related to the course, did you experience on this date?
  • Why was this significant?
  • What concepts are you dealing with that may not make perfect sense?
  • What challenges are you facing with respect to the course?
1)
i=0;i<10;i++
opus/fall2013/aforce2/journal.txt · Last modified: 2013/12/12 14:27 by aforce2