Hi, everybody!
I have a big problem. I don't understand Unix, but I work as a system administrator, and sometimes I make some data exports and I have to delete old .dmp files, but today I had a mistake, I wrote rm * 909*
This is a part of my folder contents in unix before deleting
.. is present under root, however .. under root points to the current directory itself. Any specific reason why .. is displayed under root? \( I saw this behavior in RedHat Linux and AIX\).
Advice:
Until you get used to the commands, use rm -i at the command line and try to match as much of the filename as possible.
The rm -i will prompt you to ask whether you want to delete the each file.
rm -i *909.dmp
The fact that you accidentally deleted all files in the directory is explained by @sudeep.id above.