Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 8 discussion

Actual exam question from LPI's 101-500
Question #: 8
Topic #: 1
[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)?

  • A. ln -h a.txt c.txt
  • B. ln c.txt a.txt
  • C. ln a.txt c.txt
  • D. ln -f c.txt a.txt
  • E. ln -i 525385 c.txt
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
klever
Highly Voted 1 year, 9 months ago
C is correct because only ln is used without any options creating a hardlink which has the same inode number as the original file
upvoted 5 times
...
dpereiro4481
Most Recent 1 month, 1 week ago
Selected Answer: C
-h is not valid argument for ln command. The true answer is C
upvoted 1 times
...
hung456a
3 months, 2 weeks ago
Selected Answer: C
I tested in linux ubuntu Answer C is correct
upvoted 1 times
...
1e3732d
4 months, 1 week ago
Selected Answer: C
ln <source> <link> creates hard links (symbolic require the -s parameter), which share the same inode as the source file.
upvoted 1 times
...
mrfstop
5 months, 2 weeks ago
Bard says C
upvoted 1 times
...
slacked4222
7 months, 1 week ago
Selected Answer: A
Gpt and bard says A
upvoted 1 times
dpereiro4481
1 month, 1 week ago
But says the wrong answer, -h is not valid argument for ln command. The true answer is C
upvoted 1 times
...
...
prometeu
1 year ago
No one. For create b.txt with same inode must the command : "ln a.txt b.txt"
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in