Where this command comes from?

Where this command comes from?

The which command gives you the local path of it:

$ which redis-cli
/usr/bin/redis-cli
Enter fullscreen mode
Exit fullscreen mode

And, if you are using a Debian based distro, you can combine it with dpkg to figure it out from which package does it comes from:

$ dpkg -S `which redis-cli` redis-tools: /usr/bin/redis-cli
Enter fullscreen mode
Exit fullscreen mode

Discover more from Coursity

Subscribe to get the latest posts to your email.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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