All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Essential Shell Scripts for Daily Developer Productivity

By

speckx

7mo ago· 10 min readen

Summary

A developer shares their collection of frequently used shell scripts from over a decade of maintaining dotfiles. The article highlights practical utilities like clipboard management tools (copy, pasta, pastas), directory navigation helpers (cpwd), and other productivity scripts that automate common terminal tasks. The author explains how these simple wrappers around system utilities save time and are used daily in their workflow.

Key quotes

· 4 pulled
In my decade-plus of maintaining my dotfiles, I've written a lot of little shell scripts.
Clipboardcopy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use these all the time.
pastas prints the current state of your clipboard to stdout, and then whenever the clipboard changes, it prints the new version.
cpwd copies the current directory to the clipboard. Basically pwd | copy. I often use this when I'm in a directory and I want use that directory in another terminal.
Snippet from the RSS feed
I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.

You might also wanna read