/etc/bashrc should just be an ASCII text file that you can type "cat" on to see on screen or use your favorite editor (e.g. vi, emacs, nano) to view.
What makes you think it has ANY lines with TMOUT or ANY lines that are "read only"?
What version of CentOS are you using?
Is it possible you meant instead how to extract records from a .bash_history file? You can use "strings <filename>" to see text within such history files (or other files that are not regular text files).
Last edited by MensaWater; 09-25-2017 at 12:00 PM.
|