cd命令: 处理含空格的目录名

使用cd命令处理含空格的目录名时,在目录名中的空格前加入转义符“\”即可。

例如,当前目录中,若目标文件夹名为Google Drive,命令即为:

$ cd Google\ Drive

需注意文件夹名称大小写区分。

空格符号是类Unix系统的保留符号,有特殊含义,为与其区分,需在命令中的一般字符空格前加入转义符“\”。

Linux下的WHOIS命令行

Debian/Ubuntu下安装命令如下:

$ apt-get install -y whois

CentOS下安装命令如下

$ yum install -y whois

查询命令如下:

$ whois hannesgao.de

结果如下:

Domain: hannesgao.de
Nserver: ns1035.ui-dns.de
Nserver: ns1046.ui-dns.biz
Nserver: ns1046.ui-dns.com
Nserver: ns1112.ui-dns.org
Status: connect
Changed: 2017-07-06T13:14:17+02:00

[Tech-C]
Type: ROLE
Name: Hostmaster EINSUNDEINS
Organisation: 1&1 Internet AG
Address: Brauerstr. 48
PostalCode: 76135
City: Karlsruhe
CountryCode: DE
Phone: +49.7219600
Fax: +49.72191374248
Email: [email protected]
Changed: 2012-12-10T20:50:22+01:00

[Zone-C]
Type: ROLE
Name: Hostmaster EINSUNDEINS
Organisation: 1&1 Internet AG
Address: Brauerstr. 48
PostalCode: 76135
City: Karlsruhe
CountryCode: DE
Phone: +49.7219600
Fax: +49.72191374248
Email: [email protected]
Changed: 2012-12-10T20:50:22+01:00