Tag Archives: Unix/Linux

Daily life Linux Commands

Clear the Terminal : In our daily life, we use to work on Terminal if we are using LINUX. Continuous working on terminal make terminal screen full with commands and for removing them and making our screen totally free of character, we often use clear command. Key combination ‘Ctrl+l‘ has the same effect as ‘clear‘ command. So from… Read More »

Some useful Linux Hacks

Linux is the best-known and most-used open source operating system. As an operating system, Linux is software that sits underneath all of the other software on a computer, receiving requests from those programs and relaying these requests to the computer’s hardware. For the purposes of this page, we use the term “Linux” to refer to… Read More »

Formatted text in Linux Terminal using Python

This article demonstrates how to print formatted text in Linux terminal using Python programming language. Formatted text(also called styled text or rich text) as opposed to plain text, has styling information like: color (text color, background color), style (bold or italic), and some other special features like Strike-through text, underlined text, hyperlinks, etc. In a… Read More »

Terminal Mail and Linux Security Mail

While working on Eudyptula Challenge, I was needed to mail them the tasks in the plain text format, since the server rejects all the HTML mails it receives due to security reasons. So I started mailing them from terminal which is quite simple to configure and very fast. HTML vs Plain text Mail Actually the… Read More »

Linux Virtualization : Linux Containers (lxc)

Pre-requisites: Earlier i talked about chroot jails and resource throttling using cgroups. If you haven’t read them yet, then i strongly suggest to go through them before proceeding ahead. https://www.youtube.com/watch?v=sK5i-N34im8 A vety good presentation by docker team. This will refresh some of the concepts learned above. This video acts as the bridge between this article… Read More »

Linux Virtualization – Chroot Jail

What is a chroot Jail? A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children. The programs that run in this modified environment cannot access the files outside the designated directory tree. This essentially limits their access to a directory tree and… Read More »