HF RL Explorer

Task: Get Network Interface Card Names in Python

Task: Get Network Interface Card Names in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that retrieves and lists all Network Interface Card (NIC) names available on the current Linux machine (e.g., eth0 , lo , wlan0 , etc.).

The task

Write a Python script that retrieves and lists all Network Interface Card (NIC) names available on the current Linux machine (e.g., `eth0`, `lo`, `wlan0`, etc.).

Part of PrimeIntellect/Terminal-Lego-15k.