≡ Menu

Four Completely Useless Linux Commands

Useless Linux Commands
Photo courtesy of yonmacklein

Like most of you, I’m a command line junkie. There are two advantages of using Linux command line instead of UI. First, you can automate lot of routine activities using command line and your productivity will increase drastically. Second, you’ll learn the internals of a particular feature (for example, configuring NIS) when you configure it using command line, instead of configuring it using UI.

While using command line intensively, following are the 4 Linux commands that I find practically useless.  If you think they are useful, please explain a practical scenario under which you’ll use these commands with examples.


Around The Geek World – Jan 2009

[Around The Geek World]

Around The Geek World
is a monthly summary of interesting articles and news around the geek world with my brief comments.

Tutorial: Make Vim as Your C/C++ IDE Using c.vim Plugin

Vim as C/C++ IDE
This article is part of the ongoing Vi / Vim Tips and Tricks Series. As a programmer, you may do lot of repetitive tasks while coding such as:

  • Adding file header
  • Adding function/frame comment
  • Including default code snippet
  • Performing syntax check
  • Reading documentation about a function
  • Converting a code block to comment, and vice versa


The C-Support Vim Plugin offers easiest way to do all of the above, saving lot of time and keystrokes for C and C++ programmers.

[continue reading…]

Oracle Database Startup and Shutdown Procedure

Oracle Flight Logo
Photo courtesy of Rob Shenk


For a DBA, starting up and shutting down of oracle database is a routine and basic operation. Sometimes Linux administrator or programmer may end-up doing some basic DBA operations on development database. So, it is important for non-DBAs to understand some basic database administration activities.

In this article, let us review how to start and stop an oracle database.

[continue reading…]

RJ45 Ethernet Cable
Photo courtesy of Olivander

1. What is PoE – Power Over Ethernet?

Power over Ethernet (PoE) does exactly what it says — it carries power over ethernet cables. So, an ethernet cables caries both data and current together to operate devices like wi-fi access points. This is very helpful to install wi-fi access points in ceilings, where it is hard to find power outlets. Only smaller devices can be powered using the PoE, as it carries limited power over the ethernet.
[continue reading…]

PostgreSQL DB Backup and RestoreThis is a guest post written by SathiyaMoorthy

pg_dump is an effective tool to backup postgres database. It creates a *.sql file with CREATE TABLE, ALTER TABLE, and COPY SQL statements of source database. To restore these dumps psql command is enough.

Using pg_dump, you can backup a local database and restore it on a remote database at the same time, using a single command. In this article, let us review several practical examples on how to use pg_dump to backup and restore.
[continue reading…]

Free eBook: Linux 101 Hacks

Linux 101 Hacks Book
 
Update: Linux 101 Hacks eBook released. Get your copy.
 
I’m currently writing my first book. I’m almost done with the Linux 101 Hacks eBook that covers 101 practical examples on various Linux related functionalists. The 101 hacks mentioned in this book will help you build strong foundation in Linux. All hacks in this book are explained with appropriate Linux command examples that are easy to follow.
 
There are total of 12 chapters in this book. Hacks mentioned in 6 chapters are based on the articles that I’ve already posted on my blog. Hacks mentioned in rest of the 6 chapters are brand new.
[continue reading…]

Vi and Vim Macro Tutorial: How To Record and Play

Vim Macros - Record and Play
Using Vim Macro feature you can record and play a sequence of actions inside the editor.

This article explains how to perform record and play inside Vi and Vim editor using two detailed examples.
[continue reading…]