Skip to content

Commit 2f7d24e

Browse files
committed
ad scp command memo
1 parent 8510e1d commit 2f7d24e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

memo/memo.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ Ubuntu相关
8383
# 进程相关
8484
dmesg | egrep -i -B100 'killed process' # 查看被杀死进程信息
8585
86+
# scp
87+
scp someuser@192.168.199.1:/home/someuser/file ./ # 远程机器拷贝到本机
88+
scp ./file someuser@192.168.199.1:/home/someuser/ # 拷贝到远程机器
89+
8690
代码搜索用ag, 比ack快
8791

8892
.. code-block:: python

0 commit comments

Comments
 (0)