There are two lines in regular user .bashrc(debian8).cat /home/debian8/.bashrcexport HISTTIMEFORMAT=%F %T   `tty` export PROMPT_COMMAND=history -wAt the first  login with user debian8 and to input tty pwd,not to close it .At the second login with user debian8 and to input tty ls.Now to reboot pc and  get log info with history command.What i get is as below:debian8@hwy:~$ history    1  2017-03-02 22:48:25   /dev/pts/0 tty    2  2017-03-02 22:48:28   /dev/pts/0 pwd    3  2017-03-02 22:48:38   /dev/pts/0 tty    4  2017-03-02 22:48:40   /dev/pts/0 ls    5  2017-03-02 22:48:38   /dev/pts/0 tty    6  2017-03-02 22:48:40   /dev/pts/0 ls    7  2017-03-02 22:48:25   /dev/pts/0 tty    8  2017-03-02 22:48:28   /dev/pts/0 pwd    9  2017-03-02 22:48:55   /dev/pts/0 historyWhy can't get the info such as following?How to get the following log info?  debian8@hwy:~$ history    1  2017-03-02 22:48:25   /dev/pts/0 tty    2  2017-03-02 22:48:28   /dev/pts/0 pwd    3  2017-03-02 22:48:38   /dev/pts/1 tty    4  2017-03-02 22:48:40   /dev/pts/1 ls    5  2017-03-02 22:48:55   /dev/pts/0 historyTo change from export HISTTIMEFORMAT=%F %T   `tty` export PROMPT_COMMAND=history -winto export HISTTIMEFORMAT=%F %T   `tty` export PROMPT_COMMAND=history -anot '%F %T   tty '.What i get is debian8@hwy:~$ history    1  2017-03-02 22:48:25   /dev/pts/0 tty    2  2017-03-02 22:48:28   /dev/pts/0 pwd    3  2017-03-02 22:48:38   /dev/pts/0 tty    4  2017-03-02 22:48:40   /dev/pts/0 ls    5  2017-03-02 22:48:55   /dev/pts/0 historyIs there no way to get such info as following?debian8@hwy:~$ history    1  2017-03-02 22:48:25   /dev/pts/0 tty    2  2017-03-02 22:48:28   /dev/pts/0 pwd    3  2017-03-02 22:48:38   /dev/pts/1 tty    4  2017-03-02 22:48:40   /dev/pts/1 ls    5  2017-03-02 22:48:55   /dev/pts/0 history
How to set the history log properly?
bash;history