fc-cache command in Linux with Examples Last Updated : 14 Sep, 2022 Comments Improve Suggest changes Like Article Like 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 Comment More infoAdvertise with us Next Article fc-cache command in Linux with Examples M Madhusudan_Soni Follow Improve Article Tags : Linux-Unix linux-command Linux-misc-commands Similar Reads emacs command in Linux with examples Introduction to Emacs Editor in Linux/Unix Systems: The Emacs is referred to a family of editors, which means it has many versions or flavors or iterations. The most commonly used version of Emacs editor is GNU Emacs and was created by Richard Stallman. The main difference between text editors like 5 min read env command in Linux with Examples The 'env' command in Linux is a versatile tool used to manage environment variables. It can print all the current environment variables, set new ones, or run a command within a custom environment. Additionally, 'env' is commonly used in shell scripts to launch the correct interpreter, ensuring the s 3 min read eval command in Linux with Examples eval is a built-in Linux command that executes arguments as a shell command. It combines arguments into a single string, uses it as input to the shell, and executes the commands. Syntaxeval [arg ...]Here, arg can be one or more arguments that eval will process and combine into a single shell command 2 min read ex command in Linux with examples ex (stands for extended) is a text editor in Linux which is also termed as the line editor mode of the vi editor. This editor simply provided some editing commands which has greater mobility. With the help of this editor, a user can easily move between files. Also, he/she has a lot of ways to transf 4 min read exec command in Linux with examples The 'exec' command in Linux is a powerful shell built-in used to replace the current shell process with a new command process. Unlike typical commands that create a new process, 'exec' transforms the existing process, directly impacting the efficiency and behavior of scripts.What is the exec Command 3 min read exit command in Linux with Examples The 'exit' command is a fundamental command in Linux used to exit the current shell session. This command is widely used in scripting and command-line operations, allowing users and scripts to terminate a session or a process in a controlled manner. The 'exit' command can take an optional parameter 2 min read expand Command in LINUX with examples Whenever you work with files in LINUX there can be a situation when you are stuck with a file containing many tabs and whatever you need to do with a file requires that file with no tabs but with spaces. In this situation, the task looks quite simple if you are dealing with a small file but what if 3 min read expect command in Linux with Examples expect command or scripting language works with scripts that expect user inputs. It automates the task by providing inputs. // We can install expect command using following if not installed // On Ubuntu $sudo apt install expect // On Redhat based systems $ yum install expect First we write a script 2 min read export command in Linux with Examples The 'export' command is one of the essential built-in commands in the Bash shell, allowing users to manage environment variables effectively. It is defined in POSIX standards, which state that the shell will assign the export attribute to specified variables, causing them to be included in the envir 2 min read expr command in Linux with examples The expr command in Unix is a versatile tool used for evaluating expressions in the shell environment. It performs a wide range of functions, including arithmetic calculations, string operations, and comparisons based on regular expressions.What is the 'expr' Command?expr stands for "expression" and 3 min read Like