-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?

3

2 Answers 2

2

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

2
  • Please show examples of how to use this command! Nov 30, 2017 at 11:21
  • you can use this command like this : histroy | grep '(type here which command you want to use ) ' Dec 9, 2017 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 .