When i try to remove a file on my Ubuntu 10.04 system through terminal i have execute wrong command unfortunately the command is given below.
rm -r /*.mp4
By mistake i was added / in front of *.mp4. Then the system starts to run number of lines, in that i was seen permission denied like that.
While running in terminal like that, i was closed the terminal. Then I was checked that video was removed and some more directories are also removed.
Note: I was given the execute permission on one directory like
sudo chmod -R 777 /opt/aura
Now it has execute permission. But, it shows White color every directory before that, all the directories and files are shown in green color. But now it was showing in white color. When I give
ls -lrt
Tell me how to change the color now white to green when the directory in execute permission.
.mp4in your root filesystem, which I doubt). Please runhistory | tailorhistory | lessand tell us what the command really was. – Andrea Corbellini Jan 31 at 10:47rm -r /*) would have started to delete all your data, and possibly some of your settings. Do as @AndreaCorbellini asked before you do anything else. – Paddy Landau Jan 31 at 11:49