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:
homestudentprojectfilesreportsjanuary
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 projectfilesreports Then, move the same file to projectfilesbackup
Create Hard and Soft Links:
Create a hard link from homestudentprojectfilesdatatxt to homestudentprojecthardlinkdata.txt
Create a soft link from homestudentprojectfilesdatatxt to homestudentprojectsoftlinkdata.txt
Path Expansion:
Create a new directory named testfiles and inside it create three files: filetxt filetxt and filetxt Use a glob pattern to list all files starting with file and ending with txt
Use Character Classes in Path Matching:
In the testfiles directory, create the following files: atxt Btxt Ctxt Dtxt 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
