磁盘类型:
IDE hd
SCSI SATA sd
文件系统类型:
ext swap ntfs
分区类型
MBR 和 gpt
lsb_release -b -a
root@aliyun:~# shutdown -h +15 ‘hell everyone’
来自ubuntu@aliyun的广播信息
(/dev/pts/0) 于 3:58 …
The system is going down for halt in 15 minutes!
hell everyone
^Cshutdown: 取消关机
zip -r压缩,目录 -d
tar -C b j J gzip bzip xzip -c -x -f -v
find / -name file.name -exec ls -lh {} \;
vim n N :s :%s
:w :r
vim ~/.vimrc
set ai set nu
ls /etc/default/useradd
cat /etc/login.defs
ls /etc/skel
ls /etc/skel/.bashrc 进bash读取 /etc/skel/.bash_profile 登陆读取
/etc/profile /etc/bashrc 全局变量
~/.bashrc ~/.bash_profile 用户变量
mkdir /opt/mydir-$(date +%Y%m%d)
硬链接无法跨分区,无法给目录做
关于cache和buffer的理解
http://www.ha97.com/4337.html
grep ‘etc’ -A -B -C
grep -c this /etc/passwd 等效于 grep this /etc/passwd |wc -l
elinks -dump http://www.baiu.com
curl -x http://192.168.0.1:3128 http://www.baidu.,com
http请求处理过程
http://www.cnblogs.com/binyue/p/4500578.html
http://www.mamicode.com/info-detail-1357508.html
http响应头中的cache信息
cache-control:no-cache,max-age=86400,Expire,Last-modified,E-tag等
https://my.oschina.net/u/159469/blog/316706
响应码
2xx 成功响应
3xx 重定向
http://blog.csdn.net/rainysia/article/details/8131174
http://blog.csdn.net/mm2223/article/details/8089645/