I have seen this " | " in some commands on the Linux shell but I don't know what it means in general. For example, when I run jobs on a shared cluster which uses PBS job scheduler, I can check where the job running is with this command:
qstat -j <jobid> | grep cwd
I want to know the more general meaning of | so I can apply it elsewhere when it's applicable, instead of just learning by heart the commands when I see others using it.
Thank you in advance. :)