HF RL Explorer

Task: Get Subnet Mask in Linux Using Bash

Task: Get Subnet Mask in Linux Using Bash: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that determines the network address and subnet mask (in CIDR notation) for the network interface used to reach the internet (default route interface), and outputs it in the format X.X.X.X/Y…

Part of PrimeIntellect/Terminal-Lego-15k.