wiki/docs/cmnds/101.md
sthope 20098f710c
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-07-31 19:15:14 +02:00

26 lines
470 B
Markdown

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