From 12f7e23f8f3c064439665a1dbe0dbf642d0b70b7 Mon Sep 17 00:00:00 2001 From: Ashwin Bose Date: Thu, 11 Mar 2021 10:01:47 +0100 Subject: [PATCH] Exit from unresponsive shell See [this](https://superuser.com/questions/467398/how-do-i-exit-an-ssh-connection#:~:text=in%20the%20case%20where%20you,you%20to%20your%20command%20prompt.) for more info --- languages/bash.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/languages/bash.sh b/languages/bash.sh index df781ee..e702f06 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -130,6 +130,8 @@ ssh user@host # connects to host as user ssh -p user@host # connects to host on specified port as user ssh-copy-id user@host # adds your ssh key to host for user to enable a keyed or passwordless login + + ~ + . # Exit an unresponsive SSH shell connection + whoami # returns your username passwd # lets you change your password quota -v # shows what your disk quota is