美文网首页
9/8 课堂笔记

9/8 课堂笔记

作者: 精气神贯通 | 来源:发表于2016-09-08 22:57 被阅读0次

    apt-get update(root use only)

    apt-cache search openssh-server

    apt-get install(-y) openssh-server

    apt-get remove(--purge) software

    dpkg -l php ->print things about php installed

    -rwxrwxrwx '-' on behalf of normal file

    chmod 774 dirname(x=>1,w=>2,r=>4)

    mkdir -p 1/2/3/4/5

    chmod -R 777 dirname/

    rm -rf *

    cp -r(directory) old new(rename able)

    mv old new(renameable)

    ctrl+c,ctrl+d,q,exit

    mkdir 2016-{1..12}-{1..31}

    vim emacs

    i=>INSERT before

    a=>INSERT after

    :set nu line number display

    yy=>copy

    p=>plaste

    u=>withdraw

    d=>delete

    O=>previous line INSERT

    o=>next line INSERT

    x=>delete single char

    (0,6) to the head of current line

    $ to the end of current line

    gg to the head of the document's first line

    G to the head of the document's last line

    相关文章

      网友评论

          本文标题:9/8 课堂笔记

          本文链接:https://www.haomeiwen.com/subject/yfheettx.html