Jamie has created a hard link to another file within the same directory. Which of the following commands can he use to verify that the hard link was created correctly? (Choose all that apply.)

A. ls -il
B. ls -i
C. ls -l
D. ls -al

Answer:

A. ls -il
B. ls -i

Explanation:

A. ls -il: The -i option will display the inode of the file while the -l will show extra details about the file. A hard link and the original file will have the same inode number.

B. ls -i: The -i option will display the inode of the file. A hard link and the original file will have the same inode number.

Computer Science & Information Technology

You might also like to view...

Why display the title-safe zone?

What will be an ideal response?

Computer Science & Information Technology

Find the value of x that makes these equations true.

5-2.6 x+ 2 =4

Computer Science & Information Technology