-
Create a directory named task-3.
-
Inside the
task-3
directory, create a file namedsolution.txt
. -
In
solution.txt
, write the commands used to solve each step. Do not include the output of the command. -
Do not leave blank lines between commands.
-
Upload the
task-3
directory to your tasks GitHub repository using Git on the CLI, Tasks submitted through GitHub, using GUI will be rejected. -
Paste only the command used, don't paste the prompt alongside it
[osc@osc ~]$ touch newFile # This is not accepted
touch newFile # This is correct
-
Don't paste output of commands unless specified in the task
Note:
- Ensure that the directory and file names are in lowercase. Names such as TASK-3, Task-3, task_3, Solution.txt, SOLUTION.TXT, or SoluTION.txt are not acceptable.
-
Create a new directory named
project_files
in your home directory. -
Inside
project_files
, create three directories:reports
,logs
, anddata
. -
Navigate to the
reports
directory and create two files:report1.md
andreport2.md
. -
Navigate to the
logs
directory and create four files:system.log
,error.log
,file1.pdf
, andfile2.pdf
. -
In the
data
directory, create a text file nameddata.csv
and another namedinfo.txt
. -
Use the
nano
text editor to add some random content toreport1.md
,system.log
, anddata.csv
. -
Archive all files in the
logs
directory into a tar archive namedlogs_backup.tar
. -
Move
logs_backup.tar
to theproject_files
directory. -
Extract the
logs_backup.tar
archive back into thelogs
directory. -
Find and list all files with the
.md
extension starting from the home directory(~)
. -
Search for all files ending with
.log
in theproject_files
directory. -
Search for all files named
file1.pdf
in theproject_files
directory. -
Search for all files with the
.pdf
extension in theproject_files
directory, regardless of case. -
Search for all regular files (not directories) in the
logs
directory. -
Create a symbolic link for
data.csv
namedlink_data.csv
in theproject_files
directory. -
Modify
link_data.csv
and verify if the changes are reflected indata.csv
. -
Delete the symbolic link
link_data.csv
. -
Create a file named
summary.txt
in theproject_files
directory and redirect the output ofecho "Summary Start"
to it. -
Append the current date and time to
summary.txt
. -
Use a pipeline to count the number of lines in
summary.txt
and display it, appending the result tosummary.txt
with thetee
command. -
Count the number of words in
report1.md
and display it. -
Count the number of characters in
system.log
and append the result tosummary.txt
. -
Count the total number of files and directories in
project_files
and append the result tosummary.txt
. -
Display the contents of
summary.txt
.
Good Luck!😊