Tagged: linux

icon-link 0

Symlink a file in Linux

To create a new symlink (will fail if symlink exists already): ln -s /path/to/file /path/to/symlink To create or update a symlink: ln -sf /path/to/file /path/to/symlink

Backup Computer Key In Blue For Archiving And Storage 0

The best way of big MySQL database import

If you’re using Phpmyadmin, normally there are limit of db importing – near 2 Mb. If you`ve got much more than this value you may extend php.ini values like max_execution_time, max_input_time, upload_max_filesize or post_max_size....

url 0

Curl installation and basic usage

Installation of the curl is not so complicated. For Debian it is as follows: apt-get install curl You may also install php library: apt-get install php5-curl There are lot of options you may use...

Ws_Windows_Sucks_1600x1200 0

Windows carriage returns inside shell scripts

‘\n’ writes a new line in UNIX while in Windows there are two character sequence ‘\r\n’ It may cause some problems if windows-like sequence presented in shell scripts. No matter what is the reason....

root 0

Adding email to the root user

The best way is to edit /etc/aliases file. Simply add a line to the bottom as follows: root: email@mydmomain.com You may even add several emails: root: email@mydmomain.com, email2@mydomain.com After line was added and file saved...