Bo's Oracle Station

查看: 1843|回复: 0

课程第1/2次

[复制链接]

75

主题

115

帖子

2772

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2772
发表于 2019-7-7 21:38:45 | 显示全部楼层 |阅读模式
2019-06-28
2019-07-07
安装语言包
  1. [root@server3 ~]# yum langinstall zh_CN.utf-8
  2. Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
  3.               : manager
  4. This system is not registered with an entitlement server. You can use subscription-manager to register.
  5. --> Running transaction check
  6. ---> Package man-pages-zh-CN.noarch 0:1.5.2-4.el7 will be installed
  7. --> Finished Dependency Resolution

  8. ================================================================================
  9. Package                 Arch           Version              Repository    Size
  10. ================================================================================
  11. Installing:
  12. man-pages-zh-CN         noarch         1.5.2-4.el7          base         2.3 M

  13. Transaction Summary
  14. ================================================================================
  15. Install  1 Package

  16. Total download size: 2.3 M
  17. Installed size: 2.2 M
  18. Is this ok [y/d/N]: y
  19. Downloading packages:
  20. man-pages-zh-CN-1.5.2-4.el7.noarch.rpm                     | 2.3 MB   00:00
  21. Running transaction check
  22. Running transaction test
  23. Transaction test succeeded
  24. Running transaction
  25.   Installing : man-pages-zh-CN-1.5.2-4.el7.noarch                           1/1
  26.   Verifying  : man-pages-zh-CN-1.5.2-4.el7.noarch                           1/1

  27. Installed:
  28.   man-pages-zh-CN.noarch 0:1.5.2-4.el7

  29. Language packs installed for: zh_CN.utf-8
  30. [root@server3 ~]# yum langlist
  31. Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
  32.               : manager
  33. This system is not registered with an entitlement server. You can use subscription-manager to register.
  34. Installed languages:
  35.         Simplified Chinese (China)

  36. [root@server3 ~]#
复制代码
一个简单的shell程序:
  1. #!/bin/sh

  2. A=$(date +%s%N)

  3. sleep 10

  4. B=$(date +%s%N)

  5. C=$[ $B - $A ]

  6. echo "It takes $C nano-seconds to run this shell script."
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-12-4 16:32 , Processed in 0.039229 second(s), 24 queries .

快速回复 返回顶部 返回列表