I'm new to Linux and I'm currently trying to do the following:
- unzip the contents of wordpress-4.1.1.zip to the directory in which it is contained which is /my-test-site/wordpress-4.1.1.zip
I understand to unzip I can run this command from within the directory:
unzip wordpress-4.1.1.zip
but that then leaves me with a sub directory called wordpress. I can then go in and run this command from the sub directory in order to move the files up a level:
mv * ../
If I do that I then have all of the wordpress core files in the my-test-site directory which I want. But I'm wondering If I can run the unzip command in such a way that it extracts the contents directly into my-test-site directory and doesnt create a sub directory containing the files?
Thanks