点点滴滴累计linux命令

1.alias rm='echo You can not delete the files, please use [ mv filename /data/.trash/ ]  '

2.dd if=/dev/zero of=/root/swapa bs=1024 count=4000000
 mkswap /root/swapa
 swapon /root/swapa
 /whatever/swap swap swap defaults 0 0

你可能感兴趣的:(linux)