how to move folder to opt code example Example: move a file to /opt sudo cp -r /home/kevin/compat-wireless-3.5-3 /opt