Quick Tips

Quick Tips for everyday.

Quick Tip #7: x11vnc made easy

Among remote control solutions, there is an absolute leader – german TeamViewer. Works everywhere, connects thru firewalls (eg. by using 3rd party strapping) and does it quickly. Never the less, no matter how perfect it might be, there might be reason why you’d prefer to go with alternative VNC (Virtual Computing Network) solution.

Quick Tip #6: How to know everything about your Linux system?

Nearly every Ubuntu user aware of existence of ‘ls’ command – very useful command, that allows you to display path content (Windows Users, read: C:\>DIR). But, alas, not many aware that there are quite a number of list commands, for all seasons.

In this short tip, we’ll try to show you what each one of these commands do, and you’ll be able to test it on your Ubuntu system.

Let the show begin!

Quick Tip #5: How to write Robots.txt

When hosting your own site, there might be necessity to configure behavior of bots – programs that crawl your website collecting information about its structure and content, and feed it to appropriate search engine.

For that sake, Robot.txt was created – a file that defines the way bots will behave on your site. Its configuration is pretty straight forward.

Create a text file (in Nano, Vim, Mousepad; Notepad), type in directives and upload it to root folder of your website.

Quick Tip #4: How to Unpack ANY Archive Under Linux

To extract files from literally ANY existing archive, except really rare or closed sourced, there is a wonderful utility called 7-Zip. Unfortunately, it is only available for Microsoft Windows based systems.

Luckily, there is a command line port called ‘p7zip’, giving you all features of 7 Zip under Linux shell.

To begin working with it, we should first install it. Easiest way to do it, is by using package manager default to your system. In our case, it is APT which is default for Ubuntu.

So, we execute this command:

sudo apt-get install p7zip

Quick Tip #3: How to Extract Common Archives under Linux

All files that are compressed with tar utility can be decompressed with it easily. But what about files compressed with WinZip, RAR or ARJ programs?
Luckily for you, there are corresponding utilities and in this short tip, we’ll try cover it thoroughly.

How to extract files from Zip archive
To extract files from *.zip archive, use ‘unzip‘ utility:

unzip filename.zip – will extract all files from filename.zip to current directory

Quick Tip #2: How to extract files with TAR in Linux

There are different types of archives – those are canonical (for tapes) tar archive files, there are tar files compressed with Z, gzip or bzip2, etc. There are also apt, deb, rpm, yum packages, but those do require full scale package manager, as opposed to simple extraction utility.

This short tip should give you instructions on extracting archived files from different archives, using Linux shell utility called ‘tar’.

Quick Tip #1: MySQL Upgrade Error 2002

Being an owner of VPS and taking all administrative tasks on your shoulders, If you are the owner of VPS, this type might just safe you from hours of stress.

It’s not a secret that maintenance can be something complicated. Naturally, Home or SoHo administrators, try to use shortcuts whenever possible. One of such shortcuts is automatic update. Luckily, in Linux it can be scheduled by CRON daemon, and can be checked not more often than once a month.

But then, one day you might see message like this:

Subscribe to RSS - Quick Tips