Nguyễn Tân
New member
What is the command to check user history in Linux?
Answer
To see it, issue the ls -a command.
Answer
To see it, issue the ls -a command.
- $ ls -a . .. . bash_history .bash_logout .bash_profile .bashrc.
- $ echo $HISTSIZE 1000 $ echo $HISTFILESIZE 1000 $ echo $HISTFILE /home/khess/.bash_history.
- $ . ~/.bashrc.
- $ echo $HISTSIZE 500 $ echo $HISTFILESIZE 500.
- $ history -w.