Tutorials

Generate SSH Key on Mac/Linux

1. Launch the Terminal app on your Mac Press CMD + spacebar on your Mac to launch ‘Spotlight Search’, then type ‘Terminal’ and press enter. 2. Generate your key Type in the exact command on your terminal window: ssh-keygen -t rsa It will then ask you to enter which...

Generate SSH Key on Windows

1. Check if you have the latest updates of Windows installed Beginning with Windows 10, Windows now comes with a built-in ssh client. To check if the client is working, open Powershell or CMD window and type in ssh If the client is installed, you should see the...

Uncompress a gzip (.gz) file

Gzip is often used for compressing files such as SQL exports. To unzip such a file, run this command: gzip -d file.gz

Moving all files in a directory up one level via command line

If you find that you've accidentally nested files and folders too deeply within a directory, it's easy to resolve by moving the impacted files via a single command. First, let's look at an example directory structure: directory1 -- directory2 -- directory3 --...