Multiple choice technology programming languages

"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

ln creates a hard link. The -s flag would create a symbolic link instead. The correct syntax is ln source target, so ln Test Link creates a hard link named Link pointing to Test. Options with incorrect syntax or -s are wrong.