mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add kernel aliases
This commit is contained in:
parent
93bde27829
commit
54742fcd93
|
@ -132,6 +132,11 @@ alias iptlistout='iptables -L OUTPUT -n -v --line-numbers' # OUT rules
|
||||||
alias iptlistfw='iptables -L FORWARD -n -v --line-numbers' # FORWARD rules
|
alias iptlistfw='iptables -L FORWARD -n -v --line-numbers' # FORWARD rules
|
||||||
alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system journal
|
alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system journal
|
||||||
|
|
||||||
|
# Kernel actions
|
||||||
|
alias kernel-recompile='cd /usr/src/linux && make -j7 && make -j7 modules_install && make install'
|
||||||
|
alias kernel-oldconfig='cd /usr/src/linux && make oldconfig'
|
||||||
|
alias kernel-configure='cd /usr/src/linux && make menuconfig'
|
||||||
|
|
||||||
# System actions
|
# System actions
|
||||||
alias sv='systemctl'
|
alias sv='systemctl'
|
||||||
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
|
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
|
||||||
|
|
Loading…
Reference in a new issue