I know the mv command, but I just can’t seem to know if my USB is mounted or not and I can’t seem to locate the USB folder so that I know the location of where to move the file for the mv command.
I rather not use the qubes gui to connect the usb-vm to a vm. Just so I can keep things in order in my head.
Also if answering please say if I should be in dom0 terminal or the usb-vm terminal or the file-vm terminal.
You say you don’t want to use the GUI tool - this could mean:
You want to use the command line.
You don’t want to connect the USB device to another qube.
I don’t know which you want.
If you want to use the command line, then you want qvm-block in dom0 - it’s
best practice to pass only a partition, rather than the full device.
When you attach a partition it will appear in the target qube as /dev/xvdi, (or later xvdj, or xvdk etc).
Check man qvm-block
If you don’t want to connect the device to another qube, then follow @fsflover’s advice and copy files in to sys-usb.
You can always issue mount in a qube to see where things are
If you have used qvm-block then look for /dev/xvdi
This will tell you if a device is mounted, and where.
If it isn’t mounted then manually mount it - e.g. sudo mount /dev/xvdi /mnt