码迷,mamicode.com
首页 > 系统相关 > 详细

linux 基础命令

时间:2017-07-02 18:26:08      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:unzip   关键字   grep   oca   权限   进制   结束   ctime   window   

which

whereis

more

cat

echo “” >> FileName

umask

chmod

 

 

find ~/ -name file\*

find ~/ -name file\?

find ~/ -name "file*"

find ~/ -size +102400 -a -204800                -a  and  -o  or

find ~/ -size +1 -exec ls -l {} \;          

find ~/ -user cent

find ~/ -ctime -1                 time 天  min 分钟    c-change改变(属性修改过 所有者 所属组 权限) a -access (访问) m-modify(修改)

find ~/ -type l                     f 二进制  l 软连接 d目录

find ~/ -name file\* -ok rm {} \;         -ok 询问

find . -inum xxxxxx                         i节点

 

locate          

updatedb       系统自动更新文件

grep 关键字 文件名

 

man   -->more

man 命令名 

info

whatis  命令名

命令 --help

apropos 命令名

help 查看shell内置命令的帮助

 

gzip 文件名

gzip -d 文件名

gunzip 文件名

 

tar   打包

tar -zcvf  *.tar.gz 目录名

tar -cf

tar   -x  解压  -v 详情 -f指定解压文件 -z 解压缩

 

zip     压缩linux windows通用

bzip2 压缩大型文件

write 必须在线 湿湿的^d 结束

wall  所有人

 

ping               0% packet loss 丢包率

ping 127.0.0.1  说明tcpiP 安装没问题

ping 自己IP 192.168.1.xx  没问题,本机没问题,是对方或网络有问题

ping对方没问题说明就没问题

 

linux 基础命令

标签:unzip   关键字   grep   oca   权限   进制   结束   ctime   window   

原文地址:http://www.cnblogs.com/mingjing/p/7106590.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!