« first day (8 days earlier)      last day (201 days later) » 

12:55
@souravc are you there
13:16
yes
just came
what does this command
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile ; bash
do
does it make the changes permanent to history command
no
i mean, as long it is there in .bashrc
change will remain
if you want to remove remove the export line
yes,i try that but it not shows after i close the current terminal and rerun the history command on another terminal
i want to make the changes permanent.what can i do?
i created an alias for that two commands,it works.can i post that.
13:22
put it into .bashrc
what i had to add in the .bashrc
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >>~/.bashrc'
try it in terminal
or add this line at the end of .bashrc
export HISTTIMEFORMAT="%d/%m/%y %T"
source .bashrc
but it doesn't work,you can try.
what you did?
echo 'export HISTTIMEFORMAT="%d/%m/%y %T " >> ~/.bashrc'
source ~/.bashrc
13:32
give me output of cat ~/.bashrc | tail -n 2
nothing
means i can't see the lines on .bashrc
i directly edit the bashrc and then try that
ok
do it
i works
13:36
no...I think it is not the exact answer of that question.
It just put a time stamp
not the time when it was executed
does the @mitch's answer make the changes permanent
it will if .bash_profile is sourced
so what the use of bash on the last
I am not sure, it might source
so why does he export the line to .bash_profile instead of .bashrc
13:43
How can I say it?
if you remotely connect a system .bash_profile is sourced
17
A: How to create a permanent "alias"?

txwikingerAdd your line into ~/.bashrc or into ~/.profile / ~/.bash_profile for remote logins. If you want the command being executed for all users, put it into /etc/bash.bashrc.

it says as I said
~/.bash_profile for remote logins.
remote logins means login to another pc via network.am i correct?
like ssh
can i post the answer like you said
13:49
you can, but who am i to say, you can say what is fact
i can't understand
what?
i can't understand your previous comment
I said you are free to say what is fact
k sourav
@Aakash is there any doubts for you
@souravc am i correct askubuntu.com/a/391085/202806
14:24
@Aakash r u there
to be frank, I think it is not the exact answer of that question
you can notice
then which was
when ever you open the terinal
I am trying
you will get new time stamp for the same old command
you said there was a conflict in timestamps between two commands which are same
no
when you close the terminal and open again note an old command
14:35
yes,the order of commands r same but the timestamps differ
in fact those times are not the real time when they were applied
yes
just now i run the history command but it shows 15/12/13 19:56:53
it was the last one, what you just entered will be updated after you close the existing terminal
it was not updated even i run the history command on closing the current one and reopen the another
first try any other cmd then history then close
14:53
yes it works.

« first day (8 days earlier)      last day (201 days later) »