Tuesday, August 02, 2005

ls -l `which top`

Learned a new command:
    ls -l `which top`
This executes the which command to get the path of the target file, then hands that over to ls, so it can be displayed. This is a compound command that will save from issueing the two comands individually.