User:Ixo/Script: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (moved ixo-update to new page.)
m (ixo -> xo, shorter.)
Line 13: Line 13:
* add directory to your search path. In .bashrc put ' set path="/home/olpc/bin:$PATH" '
* add directory to your search path. In .bashrc put ' set path="/home/olpc/bin:$PATH" '


== [[/ixo-info|ixo-info]] ==
== [[/xo-sysinfo|xo-sysinfo]] ==
{{/ixo-info}}
{{/xo-sysinfo}}


== [[/get-ixo|get-ixo]] ==
== [[/get-xo|get-xo]] ==
{{/get-ixo}}
{{/get-xo}}


== [[/ixo-update|ixo-update]] ==
== [[/xo-update|xo-update]] ==
{{/ixo-update}}
{{/xo-update}}


== [[/ixo-update-log|ixo-update-log]] ==
== [[/xo-update|xo-update-log]] ==
{{/ixo-update-log}}
{{/xo-update}}

Revision as of 11:40, 16 February 2008


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png


Various bash scripts, frequently used.

Notes
  • After creating the script, the 'x' execute bit must be set, 'chmod x+a FILENAME'.
  • All submitted under CC-BY-SA-NC 3.0 license.
  • I know bash not python, so if you want to offer python versions, please send them my way. :)
Suggestions
  • Put all scripts in /home/olpc/bin directory
  • add directory to your search path. In .bashrc put ' set path="/home/olpc/bin:$PATH" '

xo-sysinfo

  • xo-sysinfo: Quickly display various useful troubleshooting build information about the XO Laptop


get-xo

  • get-xo: Get a local copy/backup of your XO Laptop /home/olpc directory.


xo-update

  • xo-update (& log): Do an olpc-update to specific build (joyride or Update), log results.


xo-update-log

  • xo-update (& log): Do an olpc-update to specific build (joyride or Update), log results.