meta

what's the meta about say it ditto dot net?

User Tools

Site Tools


terminal:bin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
terminal:bin [2025/08/16 01:50] meloterminal:bin [2025/08/16 05:15] (current) melo
Line 1: Line 1:
 ====== my most used local scripts ====== ====== my most used local scripts ======
  
-in ''~/.local/bin'' usually. also in my [[https://bytes.4-walls.net/kat/dotfiles/src/branch/main/config/.local/bin|dotfiles]].+in ''~/.local/bin'' usually. also in my [[https://bytes.4-walls.net/kat/dotfiles/src/branch/main/config/.local/bin|dotfiles]]. sometimes from my ''.bashrc'' file.
  
-==== vpn ====+==== whatip ==== 
 + 
 +get my internal & external IP address. results are piped to lolcat because i like cute things ok 
 + 
 +<code bash> 
 +# print internal & external IPs 
 +whatip() { 
 + # internal 
 + echo -n "internal IP: " | lolcat -p 0.7; hostname -I | awk '{print $1}' 
 + # external 
 + echo -n "external IP: " | lolcat -p 0.7; curl -4 icanhazip.com 
 +
 +</code> 
 + 
 +==== notif ==== 
 + 
 +used after long-running programs like ''watch'' or ''dig'' because i will easily forget about something i'm waiting on like that. 
 + 
 +<code bash> 
 +# to get quick notifs 
 +# after long commands 
 +notif() { 
 + notify-send "done!" 
 + aplay -q /usr/share/sounds/sound-icons/start 
 + spd-say -t female3 -r +25 "done!" 
 +
 +</code> 
 + 
 +==== mvpn ====
  
 launch applications excluded from current and future VPN sessions (until window is closed). launch applications excluded from current and future VPN sessions (until window is closed).
  
-i have this aliased to ``mvpn`` and ``mftp``, respectively, to launch a terminal or filezilla window with this script.+i have this aliased to ''mterm'' and ''mftp'', respectively, to launch a terminal or filezilla window with this script.
  
 <code bash> <code bash>
terminal/bin.1755309013.txt.gz · Last modified: by melo