Artificial intelligent assistant

Moved some files unable to use mv now I accidently used `mv mymods /* *` . Now i am unable to undo it or either use any command. How do i fix that? I was in directory name `/home/nginx/crap` [root@somehost /home/nginx/crap]# mv mymods /* * **Centos 6.3 user - root** Directory Structure of `/home/nginx/crap` <

That command would have resulted in:

1. File or folder `/home/nginx/crap/mymods`
2. All directories at `/` _(in theory)_
3. All files and directories in `/home/nginx/crap/`



moved into last directory given by `*` in `/home/nginx/crap/`. As in:


ls -d /home/nginx/crap/*
afile1 afile2 dir1 dir2


Then everything would be put into `dir2`.

If the last entry of `*` was a file the command would have failed as you cannot move files and folders into a file.

As the last file in your `gist` post is `tree.txt` you most likely did not move any files – and something else has happened.

See if you have the `env` command available.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 985a363133d79bfab73496fe1eb8f5e9