Quantcast
Channel: SSH | PHP MySQL Talk
Browsing all 10 articles
Browse latest View live

Common SSH Commands – Linux Shell Commands

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 it. This guide will continue to...

View Article



Server Loads Explained

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 number of active processes...

View Article

How do I manually kill a process on my Linux server?

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...

View Article

SSH: How to Fix Permissions on Files and Directories?

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 {} \; Basically, the format is to find, or...

View Article

How to tar/untar, compress/uncompress files/folders using php script

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,...

View Article


SSH: How to Fix Permissions on Files and Directories?

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 {} \; Basically, the format is to find, or...

View Article

Split and merge large files

Use the split command to do this: split --bytes=1024m bigfile.iso small_file_ That command will split bigfile.iso into files that are 1024 MB in size (1GB) and name the various parts small_file_aa,...

View Article

SSH: Backup all databases

You can dump all the databases into a single .sql file like so: mysqldump --all-databases > database_backup.sql Or you can dump them individually to a directory with the date of backup to /home/ by...

View Article


Escaping a password using mysqldump console

You have to quote the password, like this: mysql -u root -p'PASSWORD' You must do this if the password has any of the following characters: * ? [ & ; ! | $ Source: http://superuser.com/a/123953 The...

View Article


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. Source:...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images