Sample Header Ad - 728x90

Why is command substitution resulting in 'command not found error'?

-4 votes
1 answer
98 views
So doing
-sh
$(cat /etc/passwd)
results in "No such File or Directory" and
"$(whereis cat)"
results in "command not found" Why is command substitution not working in the expected manner?
Asked by jstar100x (27 rep)
Dec 6, 2024, 03:54 PM
Last activity: Dec 6, 2024, 04:09 PM