CSS margin style property not working

There‚Äôs a weird characteristic of margin style property. Instead of adding two margins together, a web browser applies the larger of the two margins. This is called colliding margins. For example, if there an unordered list tag above a paragraph tag. The list tag is assigned with the bottom margin of 20 pixels and the […]

Find all files having some pattern using grep in UNIX

How to find all files under a directory, having a pattern, in their name or content, in UNIX? grep command can be used in conjunction with xargs to fetch filenames having some pattern in them. find /search_dir/ -iname “*.*” -print0 | xargs -0 grep “PATTERN” where, search_dir is the directory where search has to begin […]