Photo by Sai Kiran Anagani on Unsplash


Using Linux for development at first can be daunting, but with the right tools and applications, it can make our lives easier. Here’s a few tools and utilities I use day to day.

tldr

If you are newcomer, you will love tldr.

From their website:

The TLDR pages are a community effort to simplify the beloved man pages with practical examples.

Chances are, you have used the man to read user manual about certain commands. These manuals are also lengthy; they provide a lot of information we don’t need sometimes. Reading these manuals can also be difficult.

This is where tldr comes in. It simplifies command usage and gives us clear examples and info on certain command.

For example, if we ran tldr ls, we would get the output:


ls

  List directory contents.

  - List files one per line:
    ls -1

  - List all files, including hidden files:
    ls -a

  - Long format list (permissions, ownership, size and modification date) of all files:
    ls -la

  - Long format list with size displayed using human readable units (KB, MB, GB):
    ls -lh

  - Long format list sorted by size (descending):
    ls -lS

  - Long format list of all files, sorted by modification date (oldest first):
    ls -ltr

We can see clear info and usage of ls command. To install tldr, refer to their installation section.


Rule of thumb: If you are in a hurry, use tldr. If you look for something very specific in some command, use man.

StormSSH

StormSSH is a command line tool to manage your ssh connections. You can use it to add, delete or edit hosts you want to connect to. All configurations are written in SSH config file.

Usage:


Add a host(port is optional, defaults to 22):
  $ storm add my_vps1 dev@192.168.12.1:22
  - Success  my_vps1 added to your ssh config. you can connect it by typing "ssh my_vps1".
  - storm add my_vps2 root@192.168.12.2
  - Success  my_vps2 added to your ssh config. you can connect it by typing "ssh my_vps2".

List all hosts added by storm:
  $ storm list
  - Listing entries:
     my_vps1 -> dev@192.168.12.1:22
     my_vps2 -> root@192.168.12.2
     
Delete a host:
  $ storm delete my_vps1
  - Success  hostname "my_vps1" deleted successfully.

The thing I like the most about storm is that it provides web interface(written in Flask) to add, delete and modify hosts. To use it, execute:

$ storm web

Read more about StormSSH usage at here.

jq

TODO