Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 2 Question 21 Discussion

Posted by Quentin on May 08, 2022 at 03:01 PM

Consider the following output from the command ls --i:

How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?

Suggested Answer: C

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
EL
Elinore 11 months ago
The `ln` command is definitely the key here!
LA
Lauran 12 months ago
I thought you couldn't have two files with the same inode number.
EL
Eladia 12 months ago
Wait, can you really link to a file with the same inode like that?
MA
Marleen 12 months ago
Totally agree, C is the way to go!
WI
Willie 1 year ago
Option C is the correct way to create a hard link.
LO
Louisa 1 year ago
I vaguely recall that you can't specify an inode directly with `ln`, so I don't think option E is correct.
DO
Dorthy 1 year ago
I feel like the `--h` option isn't necessary for creating a hard link. I think it might just be `ln a.txt c.txt`.
ER
Erinn 1 year ago
I remember practicing a similar question where we had to link files. I think `ln a.txt c.txt` might be the right choice, but I could be wrong.
KA
Karon 1 year ago
I think the command to create a hard link is `ln`, but I'm not sure which option is correct for this question.
HO
Howard 1 year ago
I'm confident I can get this one right. Implementing a firewall at home is unnecessary, but using the phone for audio is a smart way to keep the conference secure.
EU
Eun 1 year ago
Hmm, I'm a bit confused on this one. I thought the logs might be in /var/log/messages, but I'm not totally sure. I'll have to think this through a bit more.
0/2000 characters

Save Cancel