# Parallels Desktop



#### Accéder à une VM depuis macOS:

```bash
$ prlctl enter "Debian GNU Linux"
root@silverbook:/# ls
bin  boot  dev	etc  home  initrd.img  initrd.img.old  lib  lib32  lib64  libx32  lost+found  media  mnt  opt  proc  root  run	sbin  srv  sys	tmp  usr  var  vmlinuz	vmlinuz.old

```



#### Exécuter une commande dans une VM:

```bash
$ prlctl exec "Debian GNU Linux" ifconfig
enp0s5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.211.55.4  netmask 255.255.255.0  broadcast 10.211.55.255
        inet6 fdb2:2c26:f4e4:0:21c:42ff:fee9:7e1c  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::21c:42ff:fee9:7e1c  prefixlen 64  scopeid 0x20<link>
        inet6 fdb2:2c26:f4e4:0:a1de:bde4:b68:5d63  prefixlen 64  scopeid 0x0<global>
        ether 00:1c:42:e9:7e:1c  txqueuelen 1000  (Ethernet)
        RX packets 315106  bytes 338679740 (322.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 202399  bytes 24815933 (23.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4488  bytes 5545309 (5.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4488  bytes 5545309 (5.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

```

