Clear the command shell window in Ubuntu
Very simple, either use the clear command: clear or hit Ctrl+L
Very simple, either use the clear command: clear or hit Ctrl+L
Run this command from a terminal window. This works on debian, ubuntu, and redhat. I’m sure it works on others but those are the only ones I have access to.
From a command prompt or terminal window, run this command: netstat -rn You should see output that looks similar to this: Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Example: mysqldump -d -h localhost -u root -p2Uad7as9 database01 > dumpfile.sql
Here’s the quick and easy way to get PHP up and running on your Ubuntu box. Your web files will now be found in /var/www/
Simply open a new Terminal window and punch in in this command df -Th
Instead of having to constantly pop in in ‘sudo’ every time you should probably make an admin change, it’s possible for you to use one of these commands to act as root. To switch to full root mode: sudo -s -H To switch to using root mode, but still act as your user account: sudo -s
There are many reasons you would want to restore a database from a backup file…
By default, MySQL only allows connections from the localhost address.