Useful command

run process forever even if console window exit

forever start ./lib/index.js

check node process is running

ps -ef | grep node

rsync

rsync -avh --exclude-from 'exclude-filelist.txt' ./ 35.239.100.58:/home/apple/transfer-to-google-drive-ubuntu

ls -lh

list file's information in detail and human readable format

du -sch *[!.]*

list file/folder size in MB and also include hidden files/directory

Remove all unused docker images

https://gist.github.com/ngpestelos/4fc2e31e19f86b9cf10b

curl

Test for GET CORS requesting .ttf file

Last updated

Was this helpful?