Sample Header Ad - 728x90

HISTTIMEFORMAT messed up adb

1 vote
1 answer
59 views
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?
Asked by G. Rann (113 rep)
Jun 3, 2022, 11:58 AM
Last activity: Jun 3, 2022, 09:13 PM