Linux/Unix How to Find the Application Icon Image With Locate and Grep Commands

May 30, 2021 | By the+gnu+linux+evangelist.

GNU/Linux Searching App Icon Image on Command Line

The Linux/Unix Tip Show How to easy Searching for the Application Icon File on Shell Command Line Terminal with locate and grep Pipe.

To Achieve the Result I’ll Make simply use of a Shell Pipeline with the ‘locate’ and the ‘grep’ Terminal Shell Commands.

How to Install GStreamer in Debian Bookworm – Step-by-step
  1. 1. Using locate Command

    How to Easy Search for Files/Directories/Paths on Command Line

    Linux How Locate Command
  2. 2. Refining Search Results

    Using locate & grep to Searching for Images

    locate KEYWORD | grep EXTENSION

    Example:

    locate firefox | grep .png

    The used Image Icons Extension to Include are: png/jpg/gif/xpm.


QuickChic Theme • Powered by WordPress