记不住linux命令,linux命令记不住怎么办

tldr   (too long  donot read)

Node.js client :npm install -g tldr

Python client :pip install tldr

Python client:pip install tldr.py

Go client :go get github.com/pranavraja/tldror platform binaries

Elixir client: binaries available soon

C++ client:brew tap tldr-pages/tldr && brew install tldr

Ruby client:gem install tldrb

Web client: try tldr on your browser here!

root@yzy-B85M-D3V:/tmp#pip install tldr

root@yzy-B85M-D3V:/tmp# tldr ssh

# SSH

Secure Shell is a protocol used to securely log onto remote systems.

It can be used for logging or executing commands on a remote server.

- connecting to a remote server

ssh {{username}}@{{remote_host}}

- connecting to a remote server with a specific identity (private key)

ssh -i {{/path/to/key_file}} {{username}}@{{remote_host}}

- connecting to a remote server with specific port

ssh {{username}}@{{remote_host}} -p {{2222}}

- run a command on a remote server

ssh {{remote_host}} "{{command -with -flags}}"

- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999)

ssh -D {{9999}} -C {{username}}@{{remote_host}}

- ssh tunneling: forward a specific port (localhost:9999 to slashdot.org:80)

ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}

- ssh enable agent forward

ssh -A {{username}}@{{remote_host}}

root@yzy-B85M-D3V:/tmp# w

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值