wiki/docs/cmnds/101.md
sthope 17a3498832
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-07-31 19:09:57 +02:00

22 lines
336 B
Markdown

<h1 align="center" id="heading"> 101 </h1>
<details>
<summary markdown="span"> Get time and date for History commands</summary>
```
HISTTIMEFORMAT='%Y-%m-%d %T "
history
make it permanent:
nano ~/.bashrc
search for `HISTCONTROL' and under it enter:
HISTTIMEFORMAT='%Y-%m-%d %T "
save and should now be permanent
```
</details>