Skip to content
Quantaledge Tech Empowerment Foundation
Reading3 minPreview

Recording the Date and Time for Each Line in History

Set the hist time format variable to attach timestamps to history entries, displaying date and time with every command, and persist the setting by appending it to ~/.bashrc with >>.

This lesson is a preview. Enrolling opens the rest of the course and keeps track of where you get to.

Sign in to enroll