Let's walk through this step-by-step. Please share with me the exact command that you're using to create a hard link.
Here is the command I used
ln ~/Documents//project_plans/season2_project_plan.odf ~/Documents/backups/season2_project_plan.odf.back
Okay, thank you for that command. Now, my next question is, did you actually execute that command?
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.
This seems incorrect :
ln ~/Documents "//" project
why the double backslash?
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.
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!
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?
What is source filename? What is the target filename? Please provide the full pathname for each of these files.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.