![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 77
lingzhiluoye
这个作者很懒,什么都没留下…
展开
-
linux--查看系统版本
查看系统版本 方法1: [root@localhost ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64: graphics-4.0-noarch:pri原创 2014-03-21 16:54:28 · 538 阅读 · 0 评论 -
linux-修改主机名
修改hostname 1. 临时修改 [root@ccerptest ~]# hostname xxxxxx 2. 永久修改 [root@ccerptest ~]# vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=xxxxxx 查看hostname 1. 查看主机名 [root@cce原创 2014-03-25 14:47:30 · 504 阅读 · 0 评论 -
linux--常见压缩命令1--Compress篇
常见压缩文件扩展名 --- P250 · *.Z compress 压缩; · *.bz2 bzip2 压缩; · *.gz gzip 压缩; · *.tar tar 打包,并没有压缩; · *.tar.gz tar 打包,且经过 gzip 的压缩 ; . *.tar.b原创 2014-03-26 11:36:16 · 1546 阅读 · 0 评论 -
linux--历史命令--history
1. history 常用于查看 当前用户 命令历史记录,可用于审计和黑客攻击 [root@www ~]# history [n] [root@www ~]# history [-c] [root@www ~]# history [-raw] histfiles 选项与参数: n :数字,意思是『要列出最近的 n 笔命令行表』的意思! -c :将目前的 shell 中的所有原创 2014-04-02 17:11:35 · 843 阅读 · 0 评论