SecureCRT常用的几个命令

cd yd_billing/

cp YD_Billing-0.0.1-SNAPSHOT.jar YD_Billing-0.0.1-SNAPSHOT.jar20180821 备份文件

rm boss-0.0.1-SNAPSHOT.jar删除文件

ls 查看目录下所有的文件(行)

ps -ef | grep java 查看进程

more info.billing.log 查看更多的log日志

ll 查看目录下所有的文件(列)

rz -y 上传本地jar

./billing-server.sh start 启动服务

tail -f billing-server.out  查看实时日志

输出前面几个字符,按tab键,会自动匹配出需要的文件名。

 

一下是scp的,只是看了同事操作了一下,写记录着,等日后熟悉了,再理解。

终端操作:

ydld:SupportingSystem ydld$ scp /Users/ydld/IdeaProjects/Balance/billing/YD_Billing/target/YD_Billing-0.0.1-SNAPSHOT.jar [email protected]:/home/zhaohaibo/bill

The authenticity of host '60.205.93.131 (60.205.93.131)' can't be established.

ECDSA key fingerprint is SHA256:5D8GSCodOgC2k6LzcnQ4h/Doe5SBwe/1X0AOGnvcsvk.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '60.205.93.131' (ECDSA) to the list of known hosts.

[email protected]'s password:

YD_Billing-0.0.1-SNAPSHOT.jar                 100%   68MB   1.2MB/s   00:55

你可能感兴趣的:(Java)