本文链接:
1.reboot命令 用于重启系统
2.poweroff命令 用于关闭系统
//均涉及硬件资源的管理权限,因此默认只有root管理员才可以管理电脑。
3.wget
用于在终端中下载网络文件
格式为%20wegt%20[参数]%20下载地址
在下载https站点时:
ERROR: certificate common name *.c.ssl.fastly.net‘ doesn‘t match requested host namebootstrap.pypa.io‘.
To connect to bootstrap.pypa.io insecurely, use `–no-check-certificate‘.
无法建立 SSL 连接。
wget --no-check-certificate
(验证失败,验证框会给出相应的错误提示):。默认情况下 autoruns 会自动隐藏掉 windows 自身的启动项目,我们也可以通过选项将微软软件的启动项都隐藏掉。连接vpn l2tp方式时提示 “错误 768: 因为加密数据失败连接尝试失败”linux命令,这个是由于您本地的电脑关闭了ipsec,360优化的时候会认为这个是开机优化选项,会关闭。
root@iZwz9fknhnmtjjrvzz2oubZ:~# wget https://www.linuxprobe.com/docs/LinuxProbe.pdf
wget: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by wget)
wget: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by wget)
wget: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by wget)
--2019-01-21 21:55:57-- https://www.linuxprobe.com/docs/LinuxProbe.pdf
Resolving www.linuxprobe.com (www.linuxprobe.com)... 101.37.183.142, 101.37.183.145, 101.37.183.143, ...
Connecting to www.linuxprobe.com (www.linuxprobe.com)|101.37.183.142|:443... connected.
ERROR: cannot verify www.linuxprobe.com's certificate, issued by ‘CN=Encryption Everywhere DV TLS CA - G1,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
To connect to www.linuxprobe.com insecurely, use `--no-check-certificate'.
root@iZwz9fknhnmtjjrvzz2oubZ:~# wget --no-check-certificate https://www.linuxprobe.com/docs/LinuxProbe.pdf
wget: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by wget)
wget: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by wget)
wget: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by wget)
--2019-01-21 22:16:44-- https://www.linuxprobe.com/docs/LinuxProbe.pdf
Resolving www.linuxprobe.com (www.linuxprobe.com)... 101.37.183.142, 101.37.183.146, 101.37.183.145, ...
Connecting to www.linuxprobe.com (www.linuxprobe.com)|101.37.183.142|:443... connected.
WARNING: cannot verify www.linuxprobe.com's certificate, issued by ‘CN=Encryption Everywhere DV TLS CA - G1,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 20105266 (19M) [application/pdf]
Saving to: ‘LinuxProbe.pdf’
LinuxProbe.pdf 100%[================================================================================>] 19.17M 26.2MB/s in 0.7s
下一个教程:Linux常用命令(下)