Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| * LFCS Domains 2015.02 | |
| Note - the domains will change somewhat in March 2015. SW RAID | |
| with mdadm will be removed | |
| ** The Command Line | |
| *** Editing text files on the CLI | |
| Covers the use of the basic text editors nano and gedit as well | |
| as the advanced editors _vi_ and _emacs_ | |
| - nano | |
| simple CLI-based text editor |
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |
| #!/bin/bash | |
| ######################################### | |
| # Installing python and necessary packages | |
| # locally. This script will install python | |
| # into the ~/local/bin directory and install | |
| # numpy + scipy | |
| ######################################### | |
| # installing python 2.7.3 |