Commend有時用到 指令 祕技 - lustan3216/BlogArticle GitHub Wiki

ps -aux | grep redis		查有那些佇列指令
kill -9 $(lsof -i tcp:3000 -t)
sudo kill -9 3044		查到資後可以kill殺掉
nslookup		查DNS資訊的
ufw		是ubuntu用來設定防火牆的

echo 3 > /proc/sys/vm/drop_caches		清除記憶體
free		查看記憶體
cat /proc/meminfo		查看記憶體

mv 改名或移動
cp 複製
find ~/ -type f -name "postgis-2.0.0"		找檔案
find . -name pro\*		找資料夾  
#All files in the current directory starting with “pro” are listed.

sudo service redis-server restart
sudo service redis-server status 
bundle exec sidekiq		但通常server上會直接背景執行