DEV Community

Robin Moffatt
Robin Moffatt

Posted on

What's your favourite command-line tool that makes you πŸ’― more productive?

I started a Twitter thread on this subject and got a ton of interesting replies, and I thought it would be useful to collect it here too!

Leave your top choice (only one!) in the comments πŸ‘‡

Top comments (2)

Collapse
 
dglsparsons profile image
Douglas Parsons

I have a little bash script that takes a screenshot and copies it to the clipboard based on a (drawn rectangle) selection. It's probably my favourite.

#!/usr/bin/env bash

FILENAME="$(mktemp).png"
scrot -a $(slop -f '%x,%y,%w,%h') "$FILENAME"
xclip -selection clipboard -t image/png -i "$FILENAME"
rm -f "$FILENAME"
notify-send "Sshot taken"
Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

$ idea <FOLDER>

and then I do everything inside jetbrains intellij idea :)