User:Michael Murtaugh/Notes: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 5: Line 5:
** Creating a "pythonlib" folder and adding it to the PYTHONPATH
** Creating a "pythonlib" folder and adding it to the PYTHONPATH


Add:
Open .bash_aliases in your HOME directory, and add:
  export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib
  export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib


to your .bash_aliases


* Rudimentary understanding of BASH scripts
* Rudimentary understanding of BASH scripts

Revision as of 15:20, 18 September 2011

  • Performing a script
  • The concept of a "PATH"
    • Creating a "bin" folder, ensuring it's in the path.
    • Creating a "pythonlib" folder and adding it to the PYTHONPATH

Open .bash_aliases in your HOME directory, and add:

export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib


Bash

what is a script?

what is a variable?

what is a loop?

sources of (live) information:

  • date
  • traceroute