Skip to content

Instantly share code, notes, and snippets.

View kamal-hossain's full-sized avatar
👉

Kamal kamal-hossain

👉
View GitHub Profile
@kamal-hossain
kamal-hossain / ssh.md
Last active July 20, 2021 05:02 — forked from bradtraversy/ssh.md
SSH Snippets

SSH Cheat Sheet

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Login via SSH with key (remote server)

ssh -i "react-counter-app.pem" ubuntu@test.compute.amazonaws.com

Logout from SSH

$ logout

@kamal-hossain
kamal-hossain / mongodb_cheat_sheet.md
Last active September 4, 2021 01:25 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Open MongoDB in cmd (For windows)

mongo

If mongo is not recognized as an internal or external command, operable program or batch file, then do the followings from this blog

Show All Databases