http://media.happypeter.org/screencasts.html
Command = operator + number + motion
d(elete) 1,2
y(ank) gg+G
启动和退出: V
整体缩进几行代码:
首先用可视行模式选中这几行,然后 >
:ls #see buffers
:bn # go to next buffer
:bp # go to previous buffer
:bd # delete a buffer
http://happypeter.github.com/LGCB/book/toy_markdown.html
sudo apt-get install git-core
sudo apt-get install tig
git pull
-
first create a dir
mkdir ggg -
now you MUST cd to this dir
cd ggg -
initializing this git dir
git initnow you can see a
.gitin this dirls -a -
now create a file
vim hello.c -
let git knows about this file
git add hello.c -
create the first version
git commit -a -m "my first version"
http://www.happypeter.org/posts/21
video: search "linus git" at youku.com
Linux is OS(operating system) OS as linus see it:
OS is nothing but the kernel.
Linux is nothing but the kernel.
ubuntu is Linux + 1000 app.
OS as MS see it:
OS is kernel + desktop env.
Clear screen : Ctrl-l
Copy and Paste: select -> middle button
https://github.com/happypeter/job-akae/wiki
bash is a kind of shell.
ls
cd
# ~ means your home dir
cd .. # go to the parent of current dir
pwd
man pwd # q to quit
mkdir dir
绝对路径: start with /
相对路径: start with .
peter@cow:~/tg-note$
user@machinename:currentWorkingDirectory(folder)$
sudo apt-get install tree
http://www.happypeter.org/posts/10
http://happypeter.github.com/LGCB/