Posts

Showing posts from August, 2018

‘Sed’ Command In Linux: Useful Applications Explained

Image
Have you ever needed to replace some text in a file really quickly? Then you have to open up your text editor, find the line, and then type out your replacement. What if you have to do that many times? What if it isn’t also exactly the same thing and you have to run multiple searches and replace each occurrence? It gets tedious very quickly, but there’s a better way of doing it with a tool called sed. We’ve written about POSIX and went over some of the interfaces and utilities a system must provide in order to be POSIX compliant. The command line tool sed is one of those utilities that provide a feature-rich way to filter, find, substitute, and rearrange data in texts files. It is an extremely powerful tool that is very easy to get started with, but very difficult to learn through and through due to its seemingly endless number of features. First, we should note that the GNU implementation of sed, while POSIX compliant, goes above and beyond the specification to provide exte...

32-Bit vs 64-Bit Operating System

Image
This has really been confusing to some people choosing between 32-bit and 64-bit systems. Head over to any operating system’s website, you will be given a choice to download either versions of the same operating system. So what is the difference? Why do we have two different versions of the same OS? Let us solve this mystery here, once and for all. So currently you might get to see either a 32-bit or 64-bit operating system. There is absolutely no difference in both of these systems, they are 100% alike with all the same features and applications. Now you might be wondering which one to choose. Well, the answer is pretty simple. Depens On Processor The type of operating system you install depends on the type of processor you have. Currently, there are 2 major types of processors available, 32-bit and 64-bit processors. A 64-bit processor can run both 32 and 64-bit operating systems, however, a 32-bit processor can only run a 32-bit operating systems.   Differen...