I want to create a text file which will add each command I am going to run on the terminal as a new line entry in the text file. i.e., I need to keep a record of what are the things I'm doing in the terminal. Further if I can keep a record of outputs I'm getting in the terminal, along with the inputs in the terminal, as a text file, it will be much better.
Each time I forget a command I have to search again in the Internet for the command.
Can I can make a file like above?
history
to see a list of run commands. Run all commands with the>> file.txt
and it will all be saved there. – Tim Dec 06 '14 at 11:07history
is nice. – Praveen Dec 06 '14 at 12:16