2017-01-27 04:51 pm

How to ppen a file in a tab in vim in readonly mode on Linux, MacOS and Unix system

Want to open a file in read-only mode on Unix, try:
vim -M file
OR open a tab in read-only mode:
: view file



More info: Open a file or a tab in vim in readonly mode
2017-01-26 04:20 pm

How To Fix SSH "WARNING: UNPROTECTED PRIVATE KEY FILE!" on Unix/MacOS/Linux

If you are getting this error then you probably reset the permissions on your keys:

chmod 0400 ~/.ssh/key
chmod 0700 ~/.ssh/
ssh -i ~/.ssh/key user@server




More info: Fixing ssh error.