Ubuntu Pastebin

Paste from homework at Thu, 5 Oct 2017 13:49:08 +0000

Download as text
1
2
3
4
5
<clyp>  1. Create a directory called Solar. 2. Create three directories in Solar and name them Mars, Saturn and Neptune. 3. Create the following text files and store them in Mars: Apollo, Mercury and Gemini. 4. Get a directory listing of the Solar folder and redirect it to Mercury. 5. Move Apollo and Gemini into Saturn. 6. Give full permissions to Mercury for owner, group and all. 7. Put your name and class into Apollo and make the file hidden

md solar; cd solar; md mars saturn neptune; touch /mars/apollo /mars/mercury /mars/gemini; ls > /solar/mars/mercury; mv /solar/mars/apollo /solar/mars/saturn; mv /solar/mars/gemini /solar/mars/saturn; chmod 777 /solar/mars/mercury

7. Put your name and class into Apollo and make the file hidden
Download as text