diff --git a/docs/cmnds/101.md b/docs/cmnds/101.md new file mode 100644 index 0000000..6f56a33 --- /dev/null +++ b/docs/cmnds/101.md @@ -0,0 +1,21 @@ +

101

+ + +
+ Get time and date for History commands + + +``` +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 +``` + + +
diff --git a/mkdocs.yml b/mkdocs.yml index ae4559b..f0dedff 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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 \ No newline at end of file