用户名:/etc/hostname
host:/etc/hosts
cd:进入目录
fn+ctrl+alt+f3切换
sudo:用管理员权限
su:切换用户
date:日期 -s 20120523 设置当前日期 -s 01:01:01具体时间,不设置日期
ls:当前目录下的文件和文件夹 -a全部 -l用长格式显示 -t按修改时间排序。 –reverse倒序
who:系统中有哪些使用者 who am i显示自身用户 -q 显示登陆用户数
pwd:当前路径
ps aux:显示所有进程
passwd XX:更改xx用户的密码
vi,vim,nano:本文编辑器
cp:复制 -r目录下所有文件复制到新目录
rm:删除 -p多级 -f 强制 -r递归 -i 提示
chmod:更改权限 rwx: r:100 w:010 x:001
r:允许打开并读取文件内容
w:允许写入文件或截断文件,但不允许对文件进行重命名或删除。重命名或删除是由目录的属性决定的 x:允许将文件作为程序来执行,使用脚本语言编写的程序必须设置为可读才能被执行
history:历史命令
fi ...
title: Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy