answersLogoWhite

0


Best Answer

You can view the history of commands entered on a Linux system with the history command.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

history -c

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you clear your command history in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the history command in Linux?

The history command displays all commands that have been entered into the terminal.


What Linux command blanks the screen?

clear clears the screen.


How do you clear the Linux terminal screen?

If you mean on the command line, then the command is: clear Of course, if your encoding's been messed up, you can also clear up this little problem with the command: reset


What is the command to clear the command window screen?

In a windows command prompt the command is "cls" (no quotes) and in Linux and Mac OS X terminal the command in "clear" (again no quotes) though you will notice that in the Terminal program (under X windows or Mac OS X) the clear command doesn't do anything except make space and scroll down so you can't see what has been done recently but that history is still available by scrolling up...


What does the k command do in Linux?

k is not a standard command in Linux.


What is the command to turn on Linux?

There is no such command. Obviously, in order to enter a command into the prompt, Linux must already be on.


How do you clear a search history in ubuntu Linux?

I figure you are talking about firefox internet browser? To clear history,open firefox, go to tools>Clear Recent History, and select how long (everything reccommended). click clear, and your all set


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


What is helo for Linux?

Nothing. Helo is not a recognized command in linux.


What is the maximum number of characters Linux allows in a keyboard command?

Linux does not have a limit as to the number of characters you can enter in a command.


What happens when you enter a Linux command in capital letters?

You get a command not found. Linux is case sensitive. So, for example: The command "systemctl" will not be the same as "SystemCTL" to a shell in Linux. One will work, the other will return an error saying there's no such command.