use output of previous command as parameter to another command
I want to use the output of a previous command as a parameter to another command.
to know where "nice" is stored i typed:
now the second command i typed is:
ls -l /usr/bin/nice
Is there a way to have a single command like:
ls -l which nice ?