The which command

Next, we are going to use the which utility to help us search for directories. Unlike the previous example, we do not need to specify the file extension; the which utility is used to locate the file path of an executable file. Simply put, the which utility will provide you with the file path only:

The preceding screenshot shows where the which nc command was used to retrieve the Netcat path within Kali Linux.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.35.60