How to pause wget downloads in terminal
use wget with the -c option so - wget http://file To pause the download press Ctrl+C To resume the download - wget -c http://file In the same directory of course.
use wget with the -c option so - wget http://file To pause the download press Ctrl+C To resume the download - wget -c http://file In the same directory of course.
You have to quote the password, like this: You must do this if the password has any of the following characters: * ? [ < > & ; ! |…
You can dump all the databases into a single .sql file like so: Or you can dump them individually to a directory with the date of backup to /home/ by…
Use the split command to do this: That command will split bigfile.iso into files that are 1024 MB in size (1GB) and name the various parts small_file_aa, small_file_ab, etc. You…
Just like the title above happens if you login to the Cpanel / Webmail using Internet connections that have a dynamic IP. Dynamic IP is the IP numbers that change itself is happening on the ISP (Internet Service Provider). Usually the GSM modem based ISP.
(more…)
Here are the SSH commands to fix your permissions on a mass level: Basically, the format is to find, or look, in the path of ~(which means home) and then…
Uploading and downloading files is a chore every webmaster has to cope with on daily basis, but if you do this by compressing the files, uploading the tar or zipped and uncompressing them on server, life becomes a little easier.
Similarly taking backup on a server becomes easier if you just compress the files/folder on server and download the tar.gz file. Usually these commands are run over SSH, but if you do not have SSH access, you can place the commands in php script too.
(more…)
Here are the SSH commands to fix your permissions on a mass level: find ~/public_html -type d -exec chmod 755 {} \; find ~/public_html -type f -exec chmod 644 {}…
Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy to way to always redirect the user to secure connection (https://) can be accomplished with a .htaccess file containing the following lines:
(more…)