This commit is contained in:
parent
b90b42e204
commit
17a3498832
21
docs/cmnds/101.md
Normal file
21
docs/cmnds/101.md
Normal file
@ -0,0 +1,21 @@
|
||||
<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>
|
@ -115,5 +115,6 @@ nav:
|
||||
- Authelia: portainer-stacks/Swag/authelia.md
|
||||
- Theme-Park: portainer-stacks/Swag/adding-theme-park.md
|
||||
- cmnds:
|
||||
- 101:cmnds/101.md
|
||||
- AddUser 1Line: cmnds/adduser-1line.md
|
||||
- Tasmota Backlogs: cmnds/tasmota-backlogs.md
|
Loading…
x
Reference in New Issue
Block a user