🏡 go home...
🗃️ go back...

*nix

created  2022/09/22
modified 2025/09/20
category info
views    296

unix not is xacronym

⚙️ config
wsl

don't boot to desktop

if you fuck up your x11/wayland setup something terrible you can add `systemd.unit=multi-user.target` as a kernel parameter to boot directly to the tty instead

1GB.bin

if you need a large file for testing you can generate one using dd

dd if=/dev/urandom of=1GB.bin bs=1M count=1024

run gui programs as root on wayland

because wayland is sooo secure

sudo --preserve-env=XDG_SESSION_TYPE --preserve-env=WAYLAND_DISPLAY --preserve-env=DISPLAY --preserve-env=XDG_RUNTIME_DIR --

aliases

# defaults
alias ls='ls --color=auto'
alias ip='ip --color=auto'
alias cp='cp -i'
alias df='df -h'
alias du='du -h'
alias free='free -h'

# shortcuts
alias  n='neofetch'
alias  c='clear'
alias  l='ls -l'
alias la='ls -a'
alias ll='ls -la'
alias dir='ls -lh'
alias cd..='cd ..'
alias quit='exit'

# qol
alias binmod='cd ~/.local/bin; nano'
alias se='ls /usr/bin | grep'
alias pid='ps -e | grep'
alias aur="pacman -Qm"
alias update-rc="source ~/.bashrc"
alias update-poweroff="yay --noconfirm; poweroff"
alias autoremove="yay -Qqdtt | yay -Rsun -"
alias jazz="mpv --player-operation-mode=pseudo-gui -- '/home/zvava/Music/91.9FM Royal Blue/'"