search text in terminal mac code example Example: search text in terminal output ssh YourCommand | grep str