fc-cache command in Linux with Examples Read Courses Improve Improve Improve Like Article Like Save Article Save Report issue Report The fc-cache command in Linux scans the font directories and build font cache for applications which use fontconfig for their font handling. When no arguments are passed fc-cache scans each directory for font files readable by FreeType. A cache is created which contains properties of each font and the associated file name, this cache is further used to speed up application when using fontconfig library during boot. Synopsis: fc-cache [ -EfrsvVh ] [ –error-on-no-fonts ] [ –force ] [ –really-force ] [ [ -y dir ] [ –sysroot dir ] ] [ –system-only ] [ –verbose ] [ –version ] [ –help ] [ dir… ] Options: -E(–error-on-no-fonts): When used this option an error will be thrown if there are no fonts present in dir or directories in the configuration. -f(–force): When used this command there will be Force re-generation of apparently up-to-date cache files, overriding the timestamp checking. -r(–really-force): This option will erase all the existing cache files and rescan. -s(–system-only): This command will scan only the system-wide directories and omit the places located in /usr/home directory. -v(–verbose): Will verbose the output while in process. -V(–version): Will display the version and exit. Example: fc-cache -Ev Note: fc-cache returns zero if cache is successfully generated else non-zero Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now! Looking for a place to share your ideas, learn, and connect? Our Community portal is just the spot! Come join us and see what all the buzz is about! Last Updated : 14 Sep, 2022 Like Article Save Article Previous fc-cache command in Linux with Examples Next fdisk command in Linux with examples Share your thoughts in the comments Add Your Comment Please Login to comment...