Is it possible to on/off specific usb port using terminal in ubuntu?
lsusb displays the following result
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 2232:1020
Bus 002 Device 009: ID 0bc2:a013 Seagate RSS LLC
Bus 002 Device 003: ID 0a5c:219c Broadcom Corp.
Seagate is my external hard-disk. Can I power it off in terminal?
I tried https://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on-off-with-linux. But confused what should be replaced in place of usbX