|
2019-06-28
2019-07-07
安装语言包
- [root@server3 ~]# yum langinstall zh_CN.utf-8
- Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
- : manager
- This system is not registered with an entitlement server. You can use subscription-manager to register.
- --> Running transaction check
- ---> Package man-pages-zh-CN.noarch 0:1.5.2-4.el7 will be installed
- --> Finished Dependency Resolution
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- man-pages-zh-CN noarch 1.5.2-4.el7 base 2.3 M
- Transaction Summary
- ================================================================================
- Install 1 Package
- Total download size: 2.3 M
- Installed size: 2.2 M
- Is this ok [y/d/N]: y
- Downloading packages:
- man-pages-zh-CN-1.5.2-4.el7.noarch.rpm | 2.3 MB 00:00
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : man-pages-zh-CN-1.5.2-4.el7.noarch 1/1
- Verifying : man-pages-zh-CN-1.5.2-4.el7.noarch 1/1
- Installed:
- man-pages-zh-CN.noarch 0:1.5.2-4.el7
- Language packs installed for: zh_CN.utf-8
- [root@server3 ~]# yum langlist
- Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
- : manager
- This system is not registered with an entitlement server. You can use subscription-manager to register.
- Installed languages:
- Simplified Chinese (China)
- [root@server3 ~]#
复制代码 一个简单的shell程序:- #!/bin/sh
- A=$(date +%s%N)
- sleep 10
- B=$(date +%s%N)
- C=$[ $B - $A ]
- echo "It takes $C nano-seconds to run this shell script."
复制代码
|
|