9/8 课堂笔记

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容