I'd like to emulate
ls -tlra | grep <search term>
in Wolfram. I have tried
Module[{},
SetDirectory[dir]
RunProcess[{"ls", "-tlra", "|", "grep", <searchTerm>}, "StandardOutput"]
]
which doesn't seem to work. Is there a way to use the "pipe" operator when shelling out commands in Wolfram?