46
◾
Ethical Hacking and Penetration Testing Guide
There is no command specifically for renaming files inside Linux; however, you just need to issue
the mv command to rename the file.
Moving a File
mv hack.txt/pentest/enumeration/
This command will move the file hack.txt to the /pentest/enumeration directory.
Removing a File
rm file name
This is very simple, and it works for directories in the same way.
Dostları ilə paylaş: