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

linux基础

时间:2016-08-03 15:16:43      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:

./   当前目录   ../  上级目录   ~   /root ; /root/登录用户

pwd     /usr/local  (安装目录)    ll   ls  -al     mkdir -p  目录名称(递归创建)  rm -rf  文件(慎用)  mv/cp  源文件  目标路径

cat/more  文件名(查看文件)(空格下一页)   man  命令名称(q退出)

修改权限:

            (user;group;other)(ugo)         (read;write;execute)(r4 w2 x1)

             1>chmod u+x file1    chmod o+wx file1   chmod a-r file1(所有人去掉读权限)

             2>chmod 700 file1    chmode 755 file1    chmod 644  file1    

linux基础

标签:

原文地址:http://www.cnblogs.com/glblog/p/5732570.html

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