Comments on: How to Use the which Command in Linux https://www.maketecheasier.com/use-which-command-linux/ Uncomplicating the complicated, making life easier Mon, 24 Mar 2025 00:56:44 +0000 hourly 1 https://wordpress.org/?v=6.8 By: Anees Asghar https://www.maketecheasier.com/use-which-command-linux/#comment-131220 Mon, 24 Mar 2025 00:56:44 +0000 https://admin.maketecheasier.com/?post_type=pitch&p=796964#comment-131220 In reply to dragonmouth.

The first statement (‘If the output includes ->, it means the file is a symbolic link’) refers to the output of the ls -l command (as shown in the screenshot), while the second one is about the “which” command, that doesn’t distinguish between binary and symbolic links. Notably, the “which -a” command lists all matching executables found in the PATH (but it does not specifically indicate whether a file is a symbolic link). So, we use ls -l command for verification.

]]>
By: dragonmouth https://www.maketecheasier.com/use-which-command-linux/#comment-131214 Sun, 23 Mar 2025 11:27:15 +0000 https://admin.maketecheasier.com/?post_type=pitch&p=796964#comment-131214 “If the output includes ->, it means the file is a symbolic link ”
“it cannot differentiate between binary and symbolic links.”
Don’t the above two statements contradict each other?

]]>