Show

Scroll within ssh screen terminal

Screen has a scrollback buffer but it cannot be controlled through mouse. Pressing CTRL +A and then ESC enables “Copy mode” in which you can move with cursors and PgUp/PgDown keys. Pressing ESC again ends copy mode. Inspired by https://unix.stackexchange.com/questions/454398/how-to-scroll-inside-a-screen-session-of-an-ssh-connection

Tagged as Shell

Show

Quickly show command line cheat sheet for applications

There are two nice tools for that: tldr & cheat Example usage

Tagged as Shell

Show

Analyze system boot time

systemd-analyze is the tool for that job You might want to try some of the following commands:

Tagged as Shell, Ubuntu

Show

SSH login via key file

create key pair and download the files (~/.ssh) add public key to authorized keys /.ssh/authorized_key login from local machine

Tagged as Shell, Ubuntu

Show

Install letsencrypt certificates

(while an active apache instance is running)Use webserver default webroot to generate certificates before setting up vhosts for new domains.

Tagged as Shell, Ubuntu