Add elapsed time since current login to prompt
Share

How to calculate the time of the last login and the time elapsed since the active login in Linux? How do we add them to the $PS1 prompt…

 

 How to calculate the time of the last login and the time elapsed since the active login in Linux? How do we add them to the $PS1 prompt…Continue reading on Medium » Read More Linux on Medium 

#linux

By