Linux Tricks

Stuff that can make life easier on Linux users:

Terminal Commands (Shown in Blue)

Get a complete list of installed packages

sudo dpkg --get-selections

Restart your network adaptor without rebooting

sudo ifconfig eth1 down
sudo ifconfig eth1 up

Restart your Apache2 server

sudo service apache2 restart


Force the latest update to your Linux Distribution

update-manager -d

Get a readout of your hardware setup


Clean your LInux cache

sudo apt-get clean
sudo apt-get autoremove

Clean out old log files

cd /var/log/
sudo \rm *log *1

Desktop Sharing

Sometimes in a new Linux install, the Vino desktop VNC server fails to have shortcuts in the menu. To get your Vino server up and running in a quick, open your terminal and type the following commands:

Enable sharing by running:  vino-preferences

Then start the server by running:  /usr/lib/vino/vino-server –sm-disable

You can add the above command in your Startup Applications if you need to launch it a boot time.


Other Hints

Use OpenDNS instead of your ISP DNS

Change your DNS servers to: and

Stop using search engines that track you!

Give Startpage a try, you’ll like the privacy!