Logicalwebhost Cheatsheet

Linux & Open Source Cheatsheets & Howto's

Skip to: Content | Sidebar | Footer

Date: January 8th, 2011


8 January, 2011 (02:40) | mysql commands | By: unclecameron

First install the server. It will prompt you to enter a root password. apt-get install mysql-server mysql-clientapt-get install mysql-server mysql-client If you want a web-based “gui” manager for your server too, do: apt-get install phpmyadminapt-get install phpmyadmin what it is what it does create database somedatabasename;create database somedatabasename; creates a new database create table bikes […]

linux commands

8 January, 2011 (01:40) | linux commands | By: unclecameron

command what it does awk ‘!/virus=””/’ > sometextfile pipes notification of nasties to a text file called sometextfile cat /proc/cpuinfo shows what CPU is installed &1 | dialog –gauge “Running dd command (cloning), please wait…” 10 70 0 copies the WHOLE drive of /dev/sda to /dev/sdb. Not just a partition, but a bit-for-bit thing. The […]