Linux/Unix How to Find the Application Icon Image with locate and grep Commands

May 30, 2021 | By the+gnu+linux+evangelist | Filed in: Tutorial.

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.

Linux/Unix How to Find the Application Icon Image with locate and grep Commands
  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.


Tags: , , ,

QuickChic Theme • Powered by WordPress