Kill rails that got stuck
October 13, 2020
I'd like to kill rails running w/specific port. (My laptop running several rails servers. )
kill -9 $(lsof -i :3000|grep ruby|head -1|awk '{print $2}')
I'd like to kill rails running w/specific port. (My laptop running several rails servers. )
kill -9 $(lsof -i :3000|grep ruby|head -1|awk '{print $2}')
Simply put a space before the command and it won't be saved to ~/.bash\_history. E.g. qrencode -o out.png "Some secret text"
To upgrade postgres you can run
Open term (or equivalent) and paste the following: