I'm fairly new to Unix commands and I just have a simple question.
One exercise I'm working on wants me to use piping along with cat and less to concatenate 2 directories (in this case /etc/passwd and /etc/group) together and then display the output one page at a time.
I've been trying
ls - la | less cat /etc/passwd/ - /etc/group but I'm not sure of the exact syntax I should use. What should I change?
EDIT: Changed directories to files in the title for future reference.