Posts Tagged ‘bash’
Configuration files
I just noticed I can’t post my .bashrc properly on here. It strips some chars out of the color codes. So I thought I’d put them on Pastebin but the site is melting. So I used Arch’s pastebin:.bashrc, .dir_colors, .Xdefaults.
If you want even more configuration file goodness check out Vico’s little Linux site and dotfiles.org.
Quick Webserver
Saw this on LearnPydia. If you have Python you can type the following in any directory and make it accessible via http.
python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'
If you use it often enough you can make it a Bash alias too.
alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'"