-   Linux - Newbie (
-   -   Clear ssh commands logs on Centos 7 (

bmxakias 02-25-2016 02:04 PM

Clear ssh commands logs on Centos 7

I am working on Centos 7 server and i run a few commands from ssh and i try to delete the logs for them using:

history -c

But when i logout and login again i was able to view them using the UPkey on my keyborad :(

How can i completely delete the logs?


Emerson 02-25-2016 02:53 PM

For some reason I do not want to answer this question ...

bmxakias 02-25-2016 02:55 PM

Why you post then?

erik2282 02-25-2016 03:15 PM

read the man page for the history command. Look under History List Management.

bmxakias 02-26-2016 01:04 AM

Ok thnaks :)

All times are GMT -5. The time now is 06:18 AM.