< A Quick Introduction to Unix
Task One
Task Two
Move to the directory ~/unixstuff. Create a backup of your science.txt file by copying it to a file called science.bak and moving it to the archive directory you created above.
What commands do you need to use to achieve this task?
% cd ~/unixstuff % cp science.txt science.bak % mv science.bak archive
Task Three
Create a directory called tempstuff using mkdir. Copy science.txt to tempstuff. Remove the directory tempstuff. What happens? Can you explain why?
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.