ip scipts
This commit is contained in:
parent
37606618b3
commit
98ba4adf4f
|
@ -15,6 +15,7 @@
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first";
|
ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first";
|
||||||
pu = "sh ~/nix/home/zsh/push.sh";
|
pu = "sh ~/nix/home/zsh/push.sh";
|
||||||
|
ip = "sh ~/nix/home/zsh/ip.sh";
|
||||||
fr = "sudo systemctl reboot --firmware";
|
fr = "sudo systemctl reboot --firmware";
|
||||||
ser = "ssh root@joygnu.org";
|
ser = "ssh root@joygnu.org";
|
||||||
rb = "sh ~/nix/home/zsh/rebuild.sh";
|
rb = "sh ~/nix/home/zsh/rebuild.sh";
|
||||||
|
|
|
@ -6,4 +6,3 @@ public_ip=$(curl -s ifconfig.me)
|
||||||
|
|
||||||
echo "Local IP Address: $local_ip"
|
echo "Local IP Address: $local_ip"
|
||||||
echo "Public IP Address: $public_ip"
|
echo "Public IP Address: $public_ip"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue