fork download
  1. #!/bin/bash
  2. ip_address=$(ipconfig | grep -E "IPv4 Address" | awk -F: '{print $2}' | xargs)
  3. echo "Private IP: $ip_address"
  4.  
Success #stdin #stdout #stderr 0.01s 5288KB
stdin
Standard input is empty
stdout
Private IP: 
stderr
./prog.sh: line 2: ipconfig: command not found