| 嗯,很简洁,直接给出了tar需要的参数,再来看curl λ tldr curl    curl    Transfers data from or to a server.   Supports most protocols, including HTTP, FTP, and POP3.    - Download the contents of an URL to a file:     curl http://example.com -o filename    - Download a file, saving the output under the filename indicated by the URL:     curl -O http://example.com/filename    - Download a file, following [L]ocation redirects, and automatically [C]ontinuing (resuming) a previous file transfer:     curl -O -L -C - http://example.com/filename    - Send form-encoded data (POST request of type application/x-www-form-urlencoded):     curl -d 'name=bob' http://example.com/form    - Send a request with an extra header, using a custom HTTP method:     curl -H 'X-My-Header: 123' -X PUT http://example.com    - Send data in JSON format, specifying the appropriate content-type header:     curl -d '{"name":"bob"}' -H 'Content-Type: application/json' http://example.com/users/1234    - Pass a user name and password for server authentication:     curl -u myusername:mypassword http://example.com    - Pass client certificate and key for a resource, skipping certificate validation:     curl --cert client.pem --key key.pem --insecure https://example.com 
 这个男人果然更强悍,常用的curl命令都包括了,我喜欢。 除了自带的命令,安装的命令也可以 [root@VM_0_14_centos ~]# tldr python    python    Python language interpreter.   More information: https://www.python.org.    - Call a Python interactive shell (REPL):     python    - Execute script in a given Python file:     python script.py    - Execute script as part of an interactive shell:     python -i script.py    - Execute a Python expression:     python -c "expression"    - Run library module as a script (terminates option list):     python -m module arguments    - Interactively debug a Python script:     python -m pdb script.py 
 除了node 还有其他版本 https://github.com/tldr-pages/tldr 比如Python,直接pip install tldr安装。 (编辑:南平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |