Common SSH commands



SSH - this is the easiest way to work with files on hosting, bypassing the http or ftp client. Preimuschstva work with SSH - high speed, and stability beopasnost session

File operations

Archiving tar-zcf file.tgz *-archive the entire contents into a file folder tekschey file.tgz

Copying from host to host: scp WHAT login @ ip-address: / folder WHAT = filename or-r foldername

Databases

# Mysqldump-u admin-p dbname> dbname.sql
dump database dbname with the name and saves the current directory under the name dbname.sql

Team:

# Mysql-u admin-p-D dbname <dump.sql

Import dump dump.sql the database dbname.

Processes memory

To view the processes you can use the command
ps aux
top
statistics on the processes apache is best viewed with the command
apachetop
Detailed statistics on the domain
apachetop-vf domain.ru

YYR - it naib
Russian (CIS)English (United Kingdom)Български (България)Finnish (Suomi)Ukrainian (UA)Italian - ItalyCroatian(HR)French (Fr)Español(Spanish Formal International)Deutsch (DE-CH-AT)
Российские двери межкомнатные массив для дома