
Create a text-based file system with the following directory structure: /root/documents/work.
Here is the representation of the directory structure you requested:
/root
└── documents
└── work
Please note that this is a text-based representation of the file system structure, and not an actual file system.
Create a file named report.txt in the /root/documents/work directory.
Here is the updated representation of the directory structure with the report.txt file added to the /root/documents/work directory:
/root
└── documents
└── work
└── report.txt
Please note that this is a text-based representation of the file system structure, and not an actual file system.
Add the following text to report.txt: 'This is a draft of the annual report.'
Here is the representation of the directory structure with the content added to the report.txt file in the /root/documents/work directory:
/root
└── documents
└── work
└── report.txt
Content of report.txt:
This is a draft of the annual report.
Please note that this is a text-based representation of the file system structure and file content, and not an actual file system.
Create a new directory named /root/documents/archive.
Here is the updated representation of the directory structure with the new /root/documents/archive directory:
/root
└── documents
├── work
│ └── report.txt
└── archive
Please note that this is a text-based representation of the file system structure, and not an actual file system.
Move report.txt from /root/documents/work to /root/documents/archive.
Here is the updated representation of the directory structure after moving report.txt from /root/documents/work to /root/documents/archive:
/root
└── documents
├── work
└── archive
└── report.txt
Please note that this is a text-based representation of the file system structure, and not an actual file system.
Display the current directory structure.
Here is the current representation of the directory structure:
/root
└── documents
├── work
└── archive
└── report.txt
Please note that this is a text-based representation of the file system structure, and not an actual file system.