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…
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 {}…
Log into your server as the root user and find the process PID that you wish to kill. You can do that by issuing the ps command with the aux options. See example below.
ps aux
This will display a process list and each visible process should have a line similar to the one below.
username 31262 0.0 0.0 12168 1752 ? S 00:25 0:00 somecommand
Explaining what server loads really are and how to control them, how to watch loads and signs of server trouble. Server Load Explination The load average tries to measure the…
We've put together some of the more frequently used linux shell commands, and organized them by name so you can easily find a command, their description and how to use…