Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 2 Question 103 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 103
Topic #: 2
[All 101-500 Questions]

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)?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Latanya
2 days ago
Forget the inode, I'm just going to ln -s a.txt c.txt and call it a day. Symbolic links are where it's at, am I right?
upvoted 0 times
...
Donte
3 days ago
I'm going with C. It's the only option that actually mentions creating a file, and the inode number is just a red herring. Or maybe it's not... *scratches head*
upvoted 0 times
...
Jesusita
4 days ago
Wait, wait, wait... did they seriously just ask us to create a file with the same inode number? What kind of sorcery is this?!
upvoted 0 times
...
Alfred
9 days ago
I'm not sure, but I think ln --i 525385 c.txt might also work
upvoted 0 times
...
My
11 days ago
I agree with Leandro, because ln a.txt c.txt creates a link with the same inode number
upvoted 0 times
...
Claribel
13 days ago
Oh, I got this! You gotta use the inode number, so E is the way to go. Ain't no way I'm messing this up.
upvoted 0 times
...
Lindsey
15 days ago
Hmm, I'm pretty sure the answer is C. ln a.txt c.txt. That's how you create a hard link, right?
upvoted 0 times
...
Tora
24 days ago
Hold up, are we supposed to use the inode number or the file name? This is confusing, someone needs to clarify this.
upvoted 0 times
Holley
3 hours ago
That makes sense, let's go with that option.
upvoted 0 times
...
Mauricio
5 days ago
Option E) ln --i 525385 c.txt is the way to go.
upvoted 0 times
...
Anisha
6 days ago
So, we should use ln --i 525385 c.txt.
upvoted 0 times
...
Vi
8 days ago
Let's use the inode number to create the new file.
upvoted 0 times
...
Kimbery
10 days ago
Let's use the inode number to create the new file.
upvoted 0 times
...
...
Leandro
26 days ago
I think the answer is C) ln a.txt c.txt
upvoted 0 times
...

Save Cancel