Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc., In this article, let us review 10 practical unix netstat command examples. 1. List All Ports (both listening and non listening ports) List all ports using netstat -a # netstat -a | more Active Internet [...]
SathiyaMoorthy
Question: How do I executed PostgreSQL Commands inside a Linux / UNIX shell script? Answer: With the help of the psql interactive terminal, you can execute the psql commands from the shell script. For this purpose, you should enable the password less login by pg_hba.conf, or .pgpass. Syntax psql DBNAME USERNAME << EOF statement 1; [...]
Earlier we discussed the basics of how to write and compile a C program with C Hello World Program. In this article, let us discuss how to debug a c program using gdb debugger in 6 simple steps. Write a sample C program with errors for debugging purpose To learn C program debugging, let us [...]
Ubuntu espeak is a speech synthesizer for English (and several other languages) which will convert text to speech. You can straight away execute espeak command on your Ubuntu machine without any installation or configuration. In this article, let us review 8 examples of espeak command. espeak Example 1: Speak the words specified in command line [...]
You can create line drawings in Vim editor using the Vim DrawIt! plugin. You can draw flow charts, ER diagrams, or any other diagrams that can be created as line drawing inside a text editor using this plugin. 2 Steps to install drawit.vim Step 1: Download latest version of the plugin from vim.org Download the [...]
This guide will help you to upgrade from Ubuntu 9.04 Jaunty Jackalope to 9.10 Karmic Koala. This tutorial has total of 13 steps with appropriate screen shots. Step 1. Check the Ubuntu Version before Upgrade How to check the current version of Ubuntu? You have the following three options: Option 1: Check the /etc/issue file [...]
wget utility is the best option to download files from internet. wget can pretty much handle all complex download situations including large file downloads, recursive downloads, non-interactive downloads, multiple file downloads etc., In this article let us review how to use wget for various download scenarios using 15 awesome wget examples. 1. Download Single File [...]
Ubuntu by default comes with a very decent theme, back ground image, and font. However if you are bored with the default Ubuntu appearance, you can change those as explained in this article. This article explains how to change Ubuntu Themes, background images, fonts and visual beeps. 1. How To Change Ubuntu Themes Theme changes [...]
My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about