Common SSH commands

File operations

Archiving tar-zcf file.tgz *-archive the entire contents of a folder in a file 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

Imports dump.sql dump the database dbname.

Processes memory

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

vis_1

Contact

518 4067
220 5532

icq 255018290

info@redsoft.ru

 

 

Redsoft-участник top25 рейтинга рунета

Redsoft - участник Top25
рейтинга студий России