889 B
889 B
Common
find
find /var -maxdepth 2 -type d -printf "%TY-%Tm-%Td %TH:%TM:%TS %Tz %p\n"
bash
# cat > /etc/profile.d/cmp.sh
export EDITOR=mcedit
export HISTFILESIZE=10485760
export HISTSIZE=500000
export HISTCONTROL=ignoreboth:erasedups
export HISTIGNORE="history:reboot:poweroff:killall:cd:ls:pwd:mc:ps:du:df:m:e:l:ce: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'
alias e='cd /etc'
alias l='cd /var/log'
tabs -4
reboot
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
Motherboard name
cat /sys/devices/virtual/dmi/id/board_name
ps --ppid 2 -p 2 --deselect