While running f3write erroneously at first I left some garbage files in my Media/jw directory - 1.h2w and 2.h2w. How do I get rid of them?
I can find them with the GUI but I don't have permission to remove anything there by deleting or dragging them to the trashcan.
With the command line I don't know how to get to that location in order to use sudo.
How do I cd above the Home directory using the command line?
Generally you can change directory
cd
to anywhere you have permission to access (Thex
in directory listings).However, once you reach somewhere you can't access, you will need to either
sudo
specifically, e.g.or you can elevate to a shell that is another user
If you don't specify which user you are elevating to, then the system will assume you mean root. So you can just do
and the rest is the same.
BE CAREFUL - When you are root you can do absolutely anything and that includes shooting yourself in the foot. Hence this joke from Randall of xkcd: