Dave's Brain

Browse - Computer Tips - How can I see the last bash command I did?

Date: 2014sep3
OS: Linux
Product: bash

Q.  How can I see the last bash command I did?

A.  With this:

history | tail -1
Or just up-arrow

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.