Can't find ls util when I attempt to use it as input to a sort
I just installed RHEL8. I'm taking a LinuxAcademy course on RHCSA. I began practising the CLI commands the instructor was using. Then I type $ sort < ls- alF and get an error.
It can't find the 'ls' command when I type the syntax to pipe the results of the 'ls -alF' command into the 'sort' command.
Nevermind. For some reason I don't seem to be able to use the same syntax as I see in the book I'm reading.
when I type it like this: $ ls -alF > sort
It appears to work.