fork download
  1. #!/bin/bash
  2. ip_address=$(hostname -I | awk '{print $1}')
  3. echo "Private IP: $ip_address"
  4.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Private IP: