Useful tips for everyday
Where do I put CMake config file? The config files can usually be found in a directory whose name matches the pattern lib/cmake/ , though…
How do you remove configuration files from synaptic? The Mark for Complete Removal option instructs Synaptic to remove any configuration files associated with the package…
How do you grep the last occurrence? 6 Answers Print last occurence of x (regex): grep x file | tail -1. Alternatively: tac file |…
Does Optimus affect performance? When Nvidia first released Optimus, its graphics-switching technology, the respective notebooks that utilized it experienced a certain drop in performance compared…
How to process more than two input files in AWK? If we need to handle two input files using awk, we can consider using this…
What is frame in Ifconfig? When connection is good, it always shows 0. Frame errors mean CRC failures on receipt of a frame. The root…
How do you do cd and ls at the same time? The && means ‘ cd to a directory, and if successful (e.g. the directory…
How do I check the connection between two Linux machines? For checking server connectivity you have 4 tools at your disposal. ping. This will check…
Which file do you need to build a container image? Build the app’s container image In order to build the application, we need to use…
What is grep regular expression? Grep Regular Expression A regular expression or regex is a pattern that matches a set of strings. GNU grep supports…