DEV Community

petercour
petercour

Posted on

1 1

Bash history viewer (daily project)

Project of the day: Made a bash history viewer, which automatically scrolls to the bottom of the console.

Bash history is a file on Linux and Apple system, which logs the console commands. The file is ~/.bash_history.

Simple program, but easier than scrolling in the terminal. If you use another terminal emulator (zsh? fish?), your file will be in another location.

Resources:

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay