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

79 lines
1.7 KiB
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>
<!-- -->
<details>
<summary markdown="span"> See Matrix </summary>
<br>
Install:
```
sudo apt-get install -y cmatrix
```
Run:
```
cmatrix
```
To Uninstall run:
```
sudo apt-get purge -y cmatrix
```
______________________________________________________________________________________________________
</details>
<!-- -->
<details>
<summary markdown="span"> GNOME Terminal Hide/Unhide MenuBar </summary>
<br>
to Hide send and restart the terminal:
```
gsettings set org.gnome.Terminal.Legacy.Settings headerbar true
```
to Unhide send and restart the terminal:
```
gsettings set org.gnome.Terminal.Legacy.Settings headerbar false
```
______________________________________________________________________________________________________
</details>
<!-- -->
<details>
<summary markdown="span"> Shotcuts </summary>
<br>
| | |
| :--------------------------- | :--------------------|
Go to the end of the line | CTRL + I
Go to the begining of the line | CTRL + A
Delete all line | CTRL + U
sort results in columns | {{cmnd}} | column -t
______________________________________________________________________________________________________
</details>