-1

I installed OpenStack and then I shutdown the laptop. After turning on the laptop again I can't enter the programmer.

How can I save my work in Ubuntu?

2

You can use the history command to see commands you have recently used.

  • Please show examples of how to use this command! – George Udosen Nov 30 '17 at 11:21
  • you can use this command like this : histroy | grep '(type here which command you want to use ) ' – Akash Borana Dec 9 '17 at 21:10
1

There is a nice file named .bashrc. It is located in your home folder.

At the bottom you can save commands in it. This is a example:

alias mci='mvn clean install'

When I write mci I really am writing mvn clean install.

If you write history in terminal you get a print out of .bash_history file. Also located in your home folder.

Not the answer you're looking for? Browse other questions tagged or ask your own question.