Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

Ubuntu Linux - history Command for Terminal History

We write a lot of commands everyday on terminal. And a lot of commands we forget when we ran them. So those who are doing the cron jobs and the scheduling type of scripts. You can see that knowing which commands we entered before is always a god thing to learn as well.

History is one such command that allows you to look into the past commands. And it can keep a lot of commands in memory and it would return you those commands once you push for the command.

So if you want to know the commands that you had in input, just type in history.

history

This should output the following output to you on the screen.

history.png

As you can see from the screenshot I had a lot of commands added to the terminal and it returned a lot of commands from all the previous sessions too. So my next attempt would be to find out how to clear the session of all those stored history of commands.

Have you used the history commands? What is your experience with this command? Have you used the history command with the terminal?

Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
Share on Google Plus

About Hugo

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment