Add new data

This commit is contained in:
root
2024-03-02 02:54:33 +03:00
parent ed098b2e6c
commit 8c8a39aef2
17 changed files with 112 additions and 18 deletions

View File

@@ -8,7 +8,7 @@
# Common
## find
```
```bash
find /var -maxdepth 2 -type d -printf "%TY-%Tm-%Td %TH:%TM:%TS %Tz %p\n"
```
@@ -20,9 +20,15 @@ export EDITOR=mcedit
export HISTFILESIZE=10485760
export HISTSIZE=500000
export HISTCONTROL=ignoreboth:erasedups
export HISTIGNORE="history:reboot:poweroff:cd:ls:pwd:mc:ps:m:e:l"
export HISTIGNORE="history:reboot:poweroff:cd:ls:pwd:mc:ps:m:e:l:z:zz:zzz"
export SSH_ASKPASS=
# PS1 Green
# PS1='[\[\e[32m\]\u@\h\[\e[0m\] \[\e[32m\]\W\[\e[0;31m\]\[\e[0m\]]\$ '
# PS1 Default
# PS1='[\u@\h \W]\$ '
alias ffi='ffmpeg -hide_banner -i'
alias m='cd /mnt'
@@ -30,7 +36,6 @@ alias e='cd /etc'
alias l='cd /var/log'
tabs -4
```
## reboot
@@ -44,11 +49,6 @@ echo b > /proc/sysrq-trigger
cat /sys/devices/virtual/dmi/id/board_name
```
## grab video from screen
```bash
ffmpeg -s 1920x1080 -framerate 10 -f x11grab -i :0 -qscale 6 out.mkv
```
```bash
ps --ppid 2 -p 2 --deselect
```