Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux server common commands

Shulou Source: shulou.com Published: 2022-06-03 00:48:37 09月21日 Update

Restart the server

Sudo reboot

Remotely connect to the server

Ssh user@222.22.22.2-p 2222-I ~ / .ssh/MyLinux-- use the username key port number

Ssh user@222.22.22.2-use user name to connect

Copy the remote server project to the local

Scp-p 2222-r user@222.22.22.2:/home/my/www / home/xiaoke/www/project_1-r directory copy

Copy a local project to a remote folder

Scp-p 2222-r project_1 user@222.22.22.2:/home/my/www

View the process

Ps aux | grep * *

Tags: Server service copy user user name project slogan key file folder directory process command commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi macOS Microsoft Docker MariaDB