Multiple choice technology operating systems

Which command will create a hard link named "Link" to the "Test" file?

  1. ln -s Test Link

  2. ln Test Link

  3. ln / Link Test

  4. ln -h Link Test

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The ln command without any flags (like -s for symbolic links) creates a hard link. The syntax ln Test Link creates a hard link named 'Link' pointing to 'Test'.