Multiple choice technology web technology

To find out what package /usr/bin/TcsMgrToolkit belongs to, you'd use

  1. rpm –qf TcsMgrToolkit

  2. rpm –qf which TcsMgrToolkit

  3. rpm –qf /usr/bin/TcsMgrToolkit

  4. rpm –qf \/usr\/bin\/TcsMgrToolkit

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

rpm -qf requires the full absolute path to the file. The which command returns the path but needs command substitution, and the escaped path in D won't work. Option C has the correct full path.