Recent Changes

Wednesday, February 9

  1. 5:44 am

Monday, January 24

  1. page Terminal edited ... blue chmod = change the mode of each file chmod a+x trialfile; make it a shell script chm…
    ...
    blue
    chmod = change the mode of each file
    chmod a+x trialfile; make it a shell script
    chmod ug-w trialfile ;prevent writes by everyone, even you
    chmod ug+x trialfile ;make it executable
    (view changes)
    4:13 am

Sunday, August 23

  1. page home edited {OLPC1.larger.jpg} ... HIGH SCHOOL 2008 What the year 10 control tech class at Woodville Hi…
    {OLPC1.larger.jpg}
    ...
    HIGH SCHOOL 2008
    What the year 10 control tech class at Woodville High (in South Australia) thinks of the Sugar software and the XO
    We only have one XO but are running the software on Windows machines using USB keys. How do you do this? This is explained in this blog entry: evaluating sugar in the developed world
    (view changes)
    9:29 pm
  2. page home edited {OLPC1.larger.jpg} SUGAR EVALUATION AT WOODVILLE HIGH SCHOOL What the year 10 control tech cla…
    {OLPC1.larger.jpg}
    SUGAR EVALUATION AT WOODVILLE HIGH SCHOOL
    What the year 10 control tech class at Woodville High (in South Australia) thinks of the Sugar software and the XO
    We only have one XO but are running the software on Windows machines using USB keys. How do you do this? This is explained in this blog entry: evaluating sugar in the developed world
    {olpc1.jpg} {olpc_05_550x413.jpg}

    (view changes)
    9:28 pm

Saturday, August 8

  1. page Terminal edited ... rm * remove all files rm * -r remove all files and folder recursively (but still prompts for …
    ...
    rm * remove all files
    rm * -r remove all files and folder recursively (but still prompts for write protected files)
    ...
    directory, eg. movemv test test1,
    mkdir make directory, eg. mkdir "test"
    touch = updates the access and modification times of each file to the current time
    (view changes)
    11:43 pm
  2. page Terminal edited ... cd .. up one level cd . current directory ... previous directory and also shows the path …
    ...
    cd .. up one level
    cd . current directory
    ...
    previous directory and also shows the path of where you have jumped to
    MANIPULATING FILES
    cp copy specified files, eg. to copy a file from your USB to your home folder, first, navigate to your USB and then:
    ...
    The wildcard character is escaped with a slash so BASH sends a literal asterisk to the find utility as an argument instead of performing filename expansion and passing any number of files in as arguments. This 'gotcha' is important. Be aware of the characters which the shell attaches special meaning to.
    find /usr -iname favoritesview.py = search in /usr and find the path to the favoritesview.py file
    grep is a program to search for strings inside a file
    grep blah fileName = search for the text blah in the file and print any matching lines (global / regular expression / print)
    grep -R "class FavoritesView" /usr/lib/python2.6/site- packages/jarabe/desktop = weird way of finding favoritesview.py?since you have to know where it is first
    sed Stream EDitor, search and replace of a particular string,
    eg. sed s/cat/dog/g fileName finds cat and replaces it with dog in file
    ...
    Ctrl+C = interrupt (if stuck inside a command you don't want to go on with)
    q = quit, eg. quit from help if not at the end of a file
    exit = exit from bash as superuser and resume as normal user
    combine options, eg. ls -lh is the quicker than ls -l -h which also works
    wildcards (* all, ? single character, [ ] range)
    (view changes)
    10:56 pm
  3. page Terminal edited ... REFERENCE 1) Folders section: adapted from A guide to files and folders on linux http://www…
    ...
    REFERENCE
    1) Folders section: adapted from A guide to files and folders on linux
    http://www.linux.ie/newusers/beginners-linux-guide/ Beginners Linux Guide
    http://linuxcommand.org/index.php designed to help people new to the command line
    (view changes)
    10:36 pm
  4. page Terminal edited ... lshal = lists hardware (HAL = hardware abstraction layer) SEARCH AND EDIT find . = lists al…
    ...
    lshal = lists hardware (HAL = hardware abstraction layer)
    SEARCH AND EDIT
    find . = lists all files in current directory and subdirectories (note the dot after find)
    find . -name fav\* = lists all files in current directory and subdirectories beginning with fav
    find . -iname fav\* = same as above but iname is not case sensitive, whereas name is case sensitive
    The wildcard character is escaped with a slash so BASH sends a literal asterisk to the find utility as an argument instead of performing filename expansion and passing any number of files in as arguments. This 'gotcha' is important. Be aware of the characters which the shell attaches special meaning to.
    find /usr -iname favoritesview.py = search in /usr and find the path to the favoritesview.py file

    grep blah fileName = search for the text blah in the file and print any matching lines (global / regular expression / print)
    sed Stream EDitor, search and replace of a particular string,
    ...
    sudo adduser $loginname
    su -l (lower case L for login) "make the shell a login shell" (translation?)
    su -c = pass a single command to the shell, eg. su -c 'cp file1 file2 file3 ~' (put the command in quotes)
    exit: exit from bash as superuser and resume as normal user
    DOWNLOAD and INSTALL
    (view changes)
    10:32 pm

Thursday, July 9

  1. page Terminal edited ... cd ~ or cd home folder cd .. up one level cd . current directory cd - previous directory …
    ...
    cd ~ or cd home folder
    cd .. up one level
    cd . current directory
    cd - previous directory
    MANIPULATING FILES
    ...
    eg. touch -m filename = changes only the modification time
    eg. touch newfile = creates an empty new file, interesting
    To run an executable from current directory
    $cmdline ="./filename"...
    ./ signifies that it should look in the current directory. It wont run by just including the filename unless the directory is in the PATH.

    MISCELLANEOUS
    alsamixer access to volume controls
    (view changes)
    6:53 pm

Wednesday, July 1

  1. page home edited {OLPC1.larger.jpg} SUGAR EVALUATION AT WOODVILLE HIGH SCHOOL What the year 10 control tech cla…
    {OLPC1.larger.jpg}
    SUGAR EVALUATION AT WOODVILLE HIGH SCHOOL
    What the year 10 control tech class at Woodville High (in South Australia) thinks of the Sugar software and the XO
    We only have one XO but are running the software on Windows machines using USB keys. How do you do this? This is explained in this blog entry: evaluating sugar in the developed world
    {olpc1.jpg} {olpc_05_550x413.jpg}

    (view changes)
    7:15 pm

More