Browsing articles in "Linux"
Dec
24
2011

Create a ‘makefile’

linux_terminal_debian

When working with a C project we might have multiple .c files in the same project. Having to compile each and every source file after some alterations in one of them would be a painful task. Hence to avoid this , we make use of the make utility which reads its makefile and makes the building and managing of our C project lot more easier. Thus when one of the .c files is changed , [...]

Nov
11
2011

Simple Scripts & Sed

sed

In my previous stone on Terminal tricks using sed, I had included simple sed one-liners to carry out some amazing text editing tasks. The beauty of sed command is more accentuated when used in scripts.A combination of two or more commands with sed can result in effective scripts. You can either create a bash file or make an alias. Alias allows you to define ‘shortcuts’ to shell commands. Usage :   alias newcommand=’yourcommand -arguments’ For e.g. [...]

Oct
17
2011

Terminal Tricks using Stream Editor ( sed )

computer-code

In this article, I have included some of the basic sed one-liners. These amazing one liners make difficult tasks look so simple and elegant. Moreover,they make you believe that you can perform such tedious tasks in a simple one-liner. So, What is sed ? It’s a non-interactive text editor. It reads an input from STDIN or a given file, executes a series of editing commands and returns the output to STDOUT. It is designed to [...]

Oct
13
2011

What’s new in Ubuntu 11.10 ( Oneric Ocelot )

Oneiric Ocelot

Oneric Ocelot ( Ubuntu 11.10 ) is scheduled to be launched on October 13, 2011. There are no such major changes in Oneric Ocelot. Instead, it improves on the drastic changes made in Maverick Meerkat ( Ubuntu 11.04 ). So, What’s new in Oneric Ocelot? New Login Screen – BetaGDM is no longer the default login screen for Ubuntu; ( replacing the old GDM Manager ) – Instead, a new login screen called LightDM – [...]

Aug
23
2011

Essential VIM Plugins for Web Developers

vim

Laziness is a virtue that every programmer needs to some degree. Efficiency is always a trademark of a good programmer. A programmer’s effort should be directed in a way to achieve maximum outcome in less time. I have seen many programmers opting for vim editor. Yet, most of the programmers are unaware about the plugins available for vim editor. These plugins drastically extend its capabilities whilst reducing the effort you need to put in. In [...]

Jul
11
2011

Lessons to be learnt from silly command line mistakes

Monitor Showing a Linux Crash on Boot, Scrolling Error Message

When it comes to Linux, the terminal is the most powerful tool. Considering the power the terminal has; a bit of carelessness with the command lines can lead to system malfunction leaving you completely clueless and bewildered. So, it is mandatory that we use the terminal meticulously. Have a look at a few commands which teaches you how to avoid havoc that can be caused due to slight error in the commands. LESSON ONE rm [...]

Jun
25
2011

A Simple Backup Shell Script

shell-scripts

This article contains a simple shell script which on execution will back up your linux system. If you are not familiar with Backup or Restore, I highly recommend you go through our previous stones on Backup your Linux System, Restore your Backups and Tips on Backup and Restore. Since, the entire posts on Backup was based on GNU tar, the following script will be using tar utility to backup. You might be wondering why to [...]

Pages:1234»