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

28 lines
472 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>