首页 > linux > linux-常用命令
2015三月14

linux-常用命令

su –                                  // 提为超级管理员权限
su server                              // 切换到server帐号,非超级管理员帐号不需要输入密码
df                                     // 显示磁盘的文件系统与使用情形
ls -l                                  // 显示目录的文件详细信息

类型:-开头为文件,d开头为文件夹,l符号链接,c字符设备节点,b块设备节点,p命名管道函数,s套接字

touch                                 // 新建文件
chmod                                 // 改变文件权限

三位一划分,rwxrwxrwx(777),r:4 w:2 x:1

u:所有者,g:所在组,0:其他, a:所有

chmod    chmod u+w test.cpp          // 符号可使用+-=
pwd                                  // 显示当前所在路径

文章作者:hgy413
本文地址:http://hgy413.com/2114.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

11 Responses to “linux-常用命令”

  1. #1 minecraft 回复 | 引用 Post:2018-10-07 00:01

    Very nice article, exactly what I was looking for.

  2. #2 tinder dating site 回复 | 引用 Post:2018-10-16 07:11

    This design is spectacular! You obviously know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog (well,
    almost…HaHa!) Great job. I really enjoyed what you had to say, and more than that,
    how you presented it. Too cool!

  3. There’s definately a great deal to find out about
    this issue. I love all of the points you made.

  4. #4 Coconut Oil 回复 | 引用 Post:2018-10-27 04:16

    Hello! I know this is kinda off topic however , I’d
    figured I’d ask. Would you be interested in exchanging links or maybe guest authoring a
    blog article or vice-versa? My website addresses a lot of the same subjects as yours and I think we could greatly benefit
    from each other. If you happen to be interested
    feel free to send me an email. I look forward to hearing from you!

    Fantastic blog by the way!

  5. #5 descargar facebook 回复 | 引用 Post:2018-11-02 14:34

    I am truly glad to read this website posts which consists of plenty of valuable
    information, thanks for providing these information.

  6. #6 Quest Protein Bars 回复 | 引用 Post:2018-11-06 08:51

    Greetings! Very useful advice within this article!
    It’s the little changes that make the largest changes.
    Thanks a lot for sharing!

  7. Thanks for some other informative blog. Where else could I get that kind of info written in such a perfect approach?
    I’ve a challenge that I’m simply now running on, and I
    have been at the glance out for such information.

  8. What’s up i am kavin, its my first time to commenting anywhere,
    when i read this piece of writing i thought i
    could also create comment due to this good paragraph.

  9. What’s up, after reading this awesome post i am too glad to share my knowledge here with friends.

  10. Sling tv coupons and promo codes for november 2018
    Hey there! Do you use Twitter? I’d like to follow you
    if that would be ok. I’m undoubtedly enjoying your blog and
    look forward to new updates. Sling tv coupons and promo codes for november 2018

  11. I every time spent my half an hour to read this website’s articles every day along with a mug of coffee.

发表评论