DEV Community

loading...

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

rmoff profile image Robin Moffatt ・1 min read

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 πŸ‘‡

Discussion (2)

pic
Editor guide
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 :)