Hi-I_U
Mission Specialist
Mission Specialist
  • 1,811 Views

Hard link created, but showing failure. all the other test came fail even if all ok

HiI_U_0-1722108184432.pngHiI_U_1-1722108224292.png

Even after doing everything right, it's showing error for each part. Is there any bug in RH124. I deleted all and redone everything. But no luck

Four files created as well 

HiI_U_0-1722108429865.png

 

22 Replies
Trevor
Starfighter Starfighter
Starfighter
  • 862 Views

Let's walk through this step-by-step.  Please share with me the exact command that you're using to create a hard link.

Trevor "Red Hat Evangelist" Chandler
Hi-I_U
Mission Specialist
Mission Specialist
  • 861 Views

Here is the command I used 

ln ~/Documents//project_plans/season2_project_plan.odf ~/Documents/backups/season2_project_plan.odf.back

HiI_U_0-1722111271632.png

 

Trevor
Starfighter Starfighter
Starfighter
  • 844 Views

Okay, thank you for that command.  Now, my next question is, did you actually execute that command?  

Trevor "Red Hat Evangelist" Chandler
Hi-I_U
Mission Specialist
Mission Specialist
  • 813 Views

Please check the first given images in the question.  It's denoting to the same inode number of the files created in the backups which means, they are hard link. 

 

DNAtsol_student
Mission Specialist
Mission Specialist
  • 784 Views

This seems incorrect :

 

ln ~/Documents "//" project

why the double backslash?

Hi-I_U
Mission Specialist
Mission Specialist
  • 769 Views

HiI_U_0-1722178140474.png

Seems like it's returning the same result despite having the double backlsh or not. But the point is this lab is returining failure for each exercise, which is weird. I deleted everything and did again, but the end result was same.

Trevor
Starfighter Starfighter
Starfighter
  • 754 Views

Those slashes are NOT back slashes - they are forward slashes!!!!   Based on the command that you have shown, you have three (3) pathnames in your command - this is improper/invalid/incorrect!!!  For this reason, I asked in my previous reply, did you actually execute the command that you indicated!

Trevor "Red Hat Evangelist" Chandler
Hi-I_U
Mission Specialist
Mission Specialist
  • 753 Views

Yes, I have executed the command. That's how also instructed in the solution as well. If it is not according to the given solution, what would be the correct way?

HiI_U_0-1722183729283.png

 

Trevor
Starfighter Starfighter
Starfighter
  • 747 Views

What is source filename?  What is the target filename?  Please provide the full pathname for each of these files.

Trevor "Red Hat Evangelist" Chandler
Join the discussion
You must log in to join this conversation.