Question: Linux Assignment Create a Directory Structure: Use mkdir with the appropriate flags to create the following directory structure: / home / student / project /

Linux Assignment
Create a Directory Structure:
Use mkdir with the appropriate flags to create the following directory structure:
/home/student/project/files/reports/2024/january
Create a File:
Create a file named data.txt in your project directory. Then, proceed with the following tasks:
Copy and Move Files:
Copy the file named data.txt from your project directory to project/files/reports/2024/. Then, move the same file to project/files/backup/.
Create Hard and Soft Links:
Create a hard link from /home/student/project/files/data.txt to /home/student/project/hardlink_data.txt.
Create a soft link from /home/student/project/files/data.txt to /home/student/project/softlink_data.txt.
Path Expansion:
Create a new directory named test_files and inside it, create three files: file1.txt, file2.txt, and file3.txt. Use a glob pattern to list all files starting with file and ending with .txt.
Use Character Classes in Path Matching:
In the test_files directory, create the following files: a1.txt, B2.txt, C3.txt, D4.txt. Use a command that lists only files starting with an uppercase letter, followed by a digit, and ending with .txt.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!