update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2022-07-31 19:14:25 +02:00
parent aea092b2ad
commit 7f9c284337

View File

@ -2,20 +2,23 @@
<details>
<summary markdown="span"> Get time and date for History commands</summary>
<summary markdown="span"> Get Time and Date for History command</summary>
Send:
```
HISTTIMEFORMAT='%Y-%m-%d %T " && history
```
Or make it permanent:
```
HISTTIMEFORMAT='%Y-%m-%d %T "
history
make it permanent:
nano ~/.bashrc
```
search for `HISTCONTROL' and under it enter:
search for `HISTCONTROL` and under it enter:
```
HISTTIMEFORMAT='%Y-%m-%d %T "
save and should now be permanent
```
______________________________________________________________________________________________________
</details>