cancel
Showing results for 
Search instead for 
Did you mean: 
Hi-I_U
Mission Specialist
Mission Specialist
  • 2,598 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
Hi-I_U
Mission Specialist
Mission Specialist
  • 980 Views

source path:   /Documents/project_plans/season2_project_plan.odf 

Target Path:  /Documents/backups/season2_project_plan.odf.back

Trevor
Starfighter Starfighter
Starfighter
  • 977 Views

Before you execute the command that I will show, PLEASE be sure that the target filename DOES NOT exist!!!!!!!!!!!!

Before you execute the command that I will show, PLEASE be sure that the source filename DOES exist!!!!!!!!

Now, for the actual command that will create the hard link:

ln    -v    /Documents/project_plans/season2_project_plan.odf           /Documents/backups/season2_project_plan.odf.back

Note:  The command appears as though it is on two (2) lines, but this is ONLY one (1) line!!!!

Note:  The "-v" option is NOT required for the command!  It's just good practice to include it!!!!!!

 

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

Hi, I just happen to do it exactly this way a while ago 

HiI_U_0-1722185523866.png

I hope this what we have now common for verification

Trevor
Starfighter Starfighter
Starfighter
  • 973 Views

I'm not sure exactly what your reply is communicating.  Did you execute the command that I provided?  If so, did you see the hard link created in the target directory?

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

Yes, I executed the exact command. It has shown the succesful result as well. But still in that lab result it's showing fail. Should I shut down the machine and start again? 

Trevor
Starfighter Starfighter
Starfighter
  • 965 Views

It certainly won't hurt to shutdown the machine, and start again!  After doing so, if you still see this "fail" message, there is an issue somewhere else!!!   As you've already seen, the command is absolutely, 100% correct!!!!

Trevor "Red Hat Evangelist" Chandler
DNAtsol_student
Mission Specialist
Mission Specialist
  • 924 Views

Thanks for  the correction Trevor

yep, I meant forward slash

Had not had my coffee yet

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 940 Views

@Hi-I_U The lab at ch03s11 is working fine :

Chetan_Tiwary__0-1722193602205.png

Chetan_Tiwary__0-1722193760108.png

check the hard link you have created is correct or not :

Chetan_Tiwary__1-1722193984752.png

 

Chetan_Tiwary_
Community Manager
Community Manager
  • 939 Views

@Hi-I_U I suggest you to recreate your lab and then redo this lab. 

Tracy_Baker
Starfighter Starfighter
Starfighter
  • 911 Views

You are supposed to be doing the lab on serverb

(Your first screenshot shows that you are on servera, which is incorrect. As a result, the lab will not grade.)

Also, when you do that lab, you must be certain that you are are doing all of the work in the proper directories.

For example, ~/Documents may not exist when you begin the lab, so you'll have to create it. Be careful here. Many students create this directory in ~

documents

This is not the same as Documents.

When doing the labs, ALWAYS ENSURE, at all times:

  1. You are on the correct system.
  2. Logged in as the correct user.
  3. Working in the correct directory.
Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
Join the discussion
You must log in to join this conversation.