Find the Path of Programs and Binaries in a Linux Server via SSH


If you are not on a shared hosting package, you may not know the paths of certain binaries, apps, etc, such as Ffmpeg, PHP, FlvTool2, etc. In this article, I will tell you a way of knowing your binaries paths. You must have SSH access to your Linux (not Windows) server. You do not need root access.

Difficulty level: Medium (Easy if you have basic Linux terminal knowledge).

NOTE: In this tutorial, I will not cover how to establish a SSH connection (that is coming soon!)

1. Establish a SSH connection to your server.

+In this article, we will have as example the need of flvtool++’s path along with Ffmpeg’s. The command to find the path of anything is ‘which’.

2. To find flvtool++’s path, we will type:

which flvtool++

3. To find Ffmpeg’s path, we will type:

which ffmpeg

+Remember foo is not equal to FOO. It IS case-sensitive. Just keep that in mind!

In my case, I do not have flvtool++ installed, so it will not output anything. It will look like this:

And that is all! You can find the path of anything with this command. Have fun with it, and please do not hesitate to contact me with comments, suggestions, problems, etc.

Have a nice day!

Best Regards,
Owner of

Looking for quality Linux Web Hosting? Try out Arvixe web hosting and you won’t be disappointed.

Tags: , , , , , , , , , , , | Posted under Linux Server Admin, Linux Usability | RSS 2.0

Author Spotlight

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *