Archive for the ‘ Linux ’ Category
http://www.ubuntugeek.com/service-command-in-ubuntu-810-intrepid-server.html sudo reboot [ READ MORE ]
export DISPLAY=`who -m | awk ‘{print $6}’ | sed -e ’s/(//g’ -e ’s/)//g’`:0 [ READ MORE ]
http://www.eec.com/business/vi.html vi [ READ MORE ]
From http://docstore.mik.ua/orelly/unix/upt/ch08_13.htm One of the common questions about the Bourne and Korn shells is why only the second command will redirect both stdout and stderr (13.1) to a file: $ cat food 2>&1 >file cat: can't open food $ cat food >file 2>&1 $ Although lots of sh manual pages don’t mention this, the shell reads arguments from left to right. On the first command [ READ MORE ]
http://tldp.org/LDP/abs/html/sample-bashrc.html sample-bashrc [ READ MORE ]
:%s/search_string/replacement_string/g ‘g’ stands for global, not sure what other parameters you can place there. [ READ MORE ]
Linux command: cat filename | tr -d [:space:] This removes the whitespace and displays the results as standard out, you can then add a little bit to the command to save it to a file, like so: cat filename | tr -d [:space:] >> fileoutname.txt [ READ MORE ]
BackBlaze Storage Server Props for sharing all of the great information, the only problem I have… is now I want to build one. Perhaps on a miniature scale, 67 terabytes seems a bit excessive. [ READ MORE ]
http://lifehacker.com/5319596/usbuntu-live-creator-makes-bootable-linux-usb-drives I’m still not 100% when/where/why I would use this. But it’s a pretty fantastic concept, portable Linux. In an age of virtualization, we can now combine OS’s, and open an OS inside another OS. I wonder what fantastic/creative ways people will find to use this. [ READ MORE ]
From the Sun supported MySQL website – http://dev.mysql.com/doc/refman/5.1/en/storage-engines.html MyISAM — The default MySQL storage engine and the one that is used the most in Web, data warehousing, and other application environments. MyISAM is supported in all MySQL configurations, and is the default storage engine unless you have configured MySQL to use a different one by default. InnoDB — [ READ MORE ]