Bash Aliases
"Life is too short to go without abbreviations and aliases in Bash." Listing files and Directoriesls ls --color=autogrep grep --color=autofgrep fgrep --color=autoegrep egrep --color=autoll ls -alFla ls -Al ls -CFzenity zenity 2>/dev/null Screen managementc clear Syntax highlighting for cat (requires ccat binary)cat ccat --bg=dark $*ccat ccat --bg=dark $* Use python 3 in bashpython python3pip python3.8 -m pippip3 python3.8 -m pip Tmuxtmux tmux -2 Use Neovim instead of Vimvim nvim Vim keys to exit the shell:q exit Use x-terminal-emulator instead of xtermxterm x-terminal-emulatoruxterm x-terminal-emulatorlxterm x-terminal-emulator Start usbreset-helper, fuzzy device selectionusbreset usbreset-helper Start a Surfraw web search in W3M terminal browser, fuzzy elvi selectionsr sr -browser=$BROWSERCLI Start a Surfraw web search in the GUI browser, fuzzy elvi selectionsurfraw surfraw -browser=$BROWSER Shortcuts for Wireguard VPN Start and stop the VPN using config file wg0...w0u systemctl start wg-quick@wg0.servicew0d systemctl stop wg-quick@wg0.service Start and stop the VPN using config file wg1...w1u systemctl start wg-quick@wg1.servicew1d systemctl stop wg-quick@wg1.service Start and stop the VPN using config file wg0...w2u systemctl start wg-quick@wg2.servicew2d systemctl stop wg-quick@wg2.service Copy VPN configs from present directory to /etc/wireguard (root shell only -- not sudo)wgxfr cp -f wg*.conf /etc/wireguard/ fzf Fuzzy Search previews text with ccatfzf fzf --preview="ccat {}"
Disclosure: Skywavelinux.com is a participant in the Amazon
Services LLC Associates Program and others, such that this site earns advertising fees
by linking to commercial offers. If you make a qualifying purchase after clicking a link
on this website, the associate affiliated with this site may earn a comission at no cost
to you.
©2015 - 2022 Skywavelinux.com, All Rights Reserved.
Contact Us, Privacy Policy and Affiliate Disclosure, XML Sitemap.
Contact Us, Privacy Policy and Affiliate Disclosure, XML Sitemap.