0% found this document useful (0 votes)
24 views2 pages

Organizing Course Project Files and Folders

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

Organizing Course Project Files and Folders

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Exercise: Managing Folders and Files

You need to organize files and folders for a course project. You will start with a basic tree
structure that you need to create, and then you will perform various operations on this tree
structure.

Part 1: Create the file tree

1. Create a main folder called ‘course_project’.

2. Inside this folder, create the following subfolders: ‘documents’,’images’,’code’,’resources’

3. In the ‘documents’ folder, create two text files: ‘[Link]’, ‘[Link]’

4. In the ‘images’ folder, create two image files (you can create empty files or use sample
images): ‘[Link]’, ‘[Link]’

5. In the ‘code’ folder, create a script file: ‘code.c’

6. In the ‘resources’ folder, create an Excel file: ‘[Link]’

course_project

documents images code ressources

report [Link] code.c [Link]

notes [Link]

Part 2: Edit the files

1. Edit the `[Link]` file to put a summary of your project.

2. Add some notes in the `[Link]` file.

Part 3: Using Unix Commands

1. Display the folder tree from the parent folder using “ls -R”.
2. Display the contents of the ‘[Link]’ file using ‘cat’.

3. Copy the ‘code.c’ file to the ‘ressources’ folder.

4. Rename the ‘[Link]’ file to ‘notes_project.txt’.

5. Delete the image ‘[Link]’ in the ‘images’ folder.


6. Move the ‘resources’ folder into the ‘documents’ folder.

Part 4: Cleanup

1. Go back to the main ‘course_project’ folder and check the folder and file structure with ‘ls -R’.

2. Delete the ‘[Link]’ file.

You might also like