While i did read the documentation about copying file(s) from / to dom0, i can’t find any information about copying commands to dom0. If there is any command in the forum i’d like to try out in dom0, I’d like to avoid mistyping.
If you are determined to copy some files to dom0 anyway, you can use the following method. (If you want to copy text, first save it into a text file.) Run this command in a dom0 terminal:
Thanks for the warning! I had the time to think about it, and i think i will check the commands from the web (if there is any mistyping), that copy the manually typed command from dom0 and paste it to some text editor and check for deviation.
It’s not just about avoiding typos and copying only from more trusted or less trusted domains. The actual command also matters. If you don’t understand what sudo rm -rf / is going to do, it doesn’t matter how carefully you copied it or whether you copied it by hand into dom0.
Thanks for the warning! If i’m not familiar with a command i usually read through it’s manpage (now on qubes in a disp-vm). If the manpage is not enough clear to me (there is a lot manpage which isn’t too user friendly) i’m searching google. Usually i don’t use any command i don’t unsderstand. Unfortunately there are rare exceptions.