Find files bigger than a specific file size

To achieve this, we can use the command find with its -size flag.


To find files larger than 10MB:

find . -type f -size +10M

If you want to find only in the current directory:

find . -maxdepth 1 -type f -size +10M

Keep SSH session alive

To avoid having your SSH session timeout due to inactivity, you can tweak your server and client settings.

Server side

Edit the fie: /etc/ssh/sshd_config
Set the values:

ClientAliveInterval 120
ClientAliveCountMax 720

Client Side

Edit the file: ~/.ssh/config
Set the value:

ServerAliveInterval 120

That should do the trick!