Skip to content

Instantly share code, notes, and snippets.

@ManishLSN
Created December 27, 2017 06:14
Show Gist options
  • Save ManishLSN/10079caf50af1e3da199eaa547c7337f to your computer and use it in GitHub Desktop.
Save ManishLSN/10079caf50af1e3da199eaa547c7337f to your computer and use it in GitHub Desktop.
willl keep all usefull commands here
# for setting node path in windows
setx NODE_PATH "%NODE_PATH%;C:\Users\winbdows 7\AppData\Roaming\npm\node_modules"
@manishjaingit
Copy link

for renew the letsencrypt certificates.

sudo certbot renew

To check SSL Date range:

echo | openssl s_client -connect 13.xxx.xxx.91:443 2>/dev/null | openssl x509 -noout -dates

@manishjaingit
Copy link

Find all files based on extensions related

find . -name \*.log -ls | sort -r -n -k7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment