title: Get Ethernet connection ID from nmcli output
body: <p>I am trying to get the Ethernet connection IDs from nmcli's output as below:</p>
  <pre><code>user@user-desktop:~/$ nmcli c
  NAME                UUID                                  TYPE             DEVICE 
  Wi-Fi connection 1  fb03ea1d-7aa5-48f2-b94d-c7f0f8249a7e  802-11-wireless  wlp2s0 
  Wired connection 1  4091d179-ccde-34be-938e-5bc792fd1e1b  802-3-ethernet   eno1
  </code></pre>
  <p>I would like to get <strong>fb03ea1d-7aa5-48f2-b94d-c7f0f8249a7e</strong> and <strong>4091d179-ccde-34be-938e-5bc792fd1e1b</strong>.</p>
  <p>For that, I used the command below:</p>
  <pre><code>user@user-desktop:~/$nmcli connection | awk '{print $4}' | sed 1,1d
  fb03ea1d-7aa5-48f2-b94d-c7f0f8249a7e
  4091d179-ccde-34be-938e-5bc792fd1e1b
  </code></pre>
  <p>The command is working fine. But when the connection name is &quot;Wi-Fi_connection_1&quot; for instance, the command will not give the expected values.</p>
  <p>Is there any generic way to do this properly?</p>