How to unlock a locked SSH terminal accidentally by ctrl-s on Linux?
I find I sometimes lock the SSH terminal accidentally by ctrl-s on Linux. How to unlock/unfreeze it?
Ctrl-s: lock the SSH terminal.
Ctrl-q: unlock the SSH terminal.
I find I sometimes lock the SSH terminal accidentally by ctrl-s on Linux. How to unlock/unfreeze it?
Ctrl-s: lock the SSH terminal.
Ctrl-q: unlock the SSH terminal.
Port forwarding (or tunnelling) is a method to forward one network traffic to another. We will introduce how to forward ports using SSH tunnel in this post. A simple example Let’s start with a simple and useful example: we want to forward local port 8080 to server:port. We can easily do this by using ssh…
How to the number of files in a directory ls | wc -l works well for me. http://stackoverflow.com/questions/3702104/find-the-number-of-files-in-a-directory Read more: How to sort all files recursively by modification time in a directory on Linux? How to find files in a directory that are larger than certain size? How to find top K largest files in…
How to install Fedora 20 on a mbr/ms-dos disk? The nogpt and noefi trick seems do not work. This is a bug in F20 installer that still believes it is in UEFI native mode even if the noefi parameter is passed. Solution: There is an updates image for the installer which fixes this issue available…
How to make a static library (.a) on Linux? How to generate a library from C programs in files lib1.c and lib2.c: $ gcc -c lib1.c lib2.c Create a library “libmy.a” using ar: $ ar -cvq libmy.a lib1.o lib2.o You can also list the files in a library with ar: $ ar -t libmy.a You…
How can I force iPhone to reboot/restart/reset when it locks up completely and does not response? To force an iPhone to restart: Press and hold the iPhone’s power key and home button together. Holding the two keys for around 10~15 seconds until the screen is turned off. Release the buttons once the screen lights up…
How to grep a tab on Linux? Including ‘t’ seems not working. grep can grep tabs. The problem is likely the tab is not passed to grep. If you are using Bash, you can use ANSI-C quoting to pass the “tab” to grep: $ grep $’t’ file.txt Or, use Perl-style regex (only for GNU grep)…
Hello, i recently installed linux, then used the terminal for some commands to install apps, but then as i closed the terminal, the terminal asks me to connect to my ssh server or hostname. I tried a lot of SSH connetions but they all got refused. At first in my terminal my username was ghulamabbassafdarzada@penguin, now that SSh does not work. How can i fix that and be able to use my terminal again?