On 2019-12-11 12:27 p.m., Lennart Sorensen via talk wrote:
Someone at work just made a slight mistake:

root@ECA:~# cd /var
root@ECA:/var# mv core.* /*   [clearly that trailing * was not meant to be 
there]
[snip]
So what do you do now?

All the files and directories in the root directory will have been moved in to the /var directory with the exception of the /lib and /opt directories which already existed in /var.

First step is move the bin directory back to its normal position using "bin/mv bin /". After that command you will have normal access to ls and mv once more and you can move other files and directories out of /var and back to / where they belong.

--
Cheers!

Kevin.

http://www.ve3syb.ca/               | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
                                    | that's why we're powerful"
Owner of Elecraft K2 #2172          |
#include <disclaimer/favourite>     |             --Chris Hardwick
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to