On 12/03/2014 04:06 AM, Robert Moskowitz wrote:
Well I finally realized why no history for user root.

/root/.bash_history is linked to /dev/null

What is the reason for this?  Is it for security reasons?

Yes.

How do I remove this link and create a regular .bash_history file?

You aren't seriously asking this question on a list for a Linux distro that _really_ isn't for Linux newbies, are you?

rm /root/.bash_history
touch /root/.bash_history

Gordan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to