I set up earlier this month HISTTIMEFORMAT
cause I needed to see the time on some of the commands I previously used. However, I most likely messed something up with those commands, because every time I try to use adb for anything (adb kill-server eg.) I get the following error: bash: /home/user/Android/Sdk/platform-tools/adbHISTTIMEFORMAT=%d%m%y: No such file or directory
. These are the commands that I used to setup HISTTIMEFORMAT
:
1032 20/05/22 19:17:45 echo 'HISTTIMEFORMAT="%d%m%y %T "' >> ~/.bashrc
1033 20/05/22 19:17:46 history
1034 20/05/22 19:19:17 source ~/.bashrc
1035 20/05/22 19:19:19 history
1036 20/05/22 19:20:22 echo 'HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc
1037 20/05/22 19:20:32 source ~/.bashrc
What exactly did I do wrong and how can I fix/revert it?
bashrc
file, but it just removed the timestamp from the history command. The adb error is still there. – G. Rann Jun 03 '22 at 13:21