Tag Archives: Linux

How to Remove ^M in Linux & Unix

Control M ( ^M)  characters are introduced when you use  lines of text from a windows computer to  Linux or Unix machine.  Most common reasons are when you directly copy a file from a windows system or submit form data copied and pasted from a windows machine.

Detecting ^M characters

^M is non printable character and often becomes difficult to find, in order to see if your file contains any non printable character use the cat command with -v option

$cat -v filename

Methods to remove ^M

In all these method , real secret is not to type ^M using keyboard but rather typing in control key sequence to get the ^M control character.

man command in Linux and Unix

man command, short for manual, provides help for the commands, utilities or function in Linux and Unix systems. Learn about usage , related packages, sections and other interesting facts about man pages.

Download Linux : Top 10 Free Linux Distributions for Desktop and Servers

All the Linux distributions are either derivative of GNU/Linux ( OS made up of Linux Kernel developed by Linus Torvalds and GNU software repository) or derived from other Linux derivatives.

Desktop distributions comes with Graphical user interface enabled by default &   aimed at individual users and most of the administration work can be done using GUI. Good for new users and running Linux-based graphical applications.

Server Distribution are for more advanced users who are familiar with Linux command line as Graphical Interface is not enabled by default in most of the server distributions. Server distributions comes with web servers like apache  and networking packages like DNS and useful for running backend services , work as web server or DNS Server.

Top 10 Must have Books for Unix and Linux

Here is the top 10 must have books for Unix and Linux , these are great books for any one working in Unix and Linux from beginner to advance users  improve skills and go deeper to understand, learn, program and manage Unix and Linux systems.

Linux RPMs – All you need to know

This document contains an overview of the principal RPM commands for installing, uninstalling, upgrading, querying, listing, and checking RPM packages on your Red Hat Linux system.
This document uses apache rpm httpd-2.0.49-4.i386.rpm , as an example.