Sample Header Ad - 728x90

Why isn't `which ls | file` working?

0 votes
1 answer
354 views
I would like to use the result of which ls and see the file type using file. However, when I type in which ls | file it doesn't work. When I try to do file < which ls, that doesn't work either. Any pointers would be appreciated.
Asked by Grateful (113 rep)
Dec 19, 2022, 07:18 AM
Last activity: Dec 19, 2022, 07:39 AM