[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Append/Write CRON Output to Log File in Linux (Unix)

Append CRON Output to Log :            The following syntax can be used to append the output of the shell scripts to the given file. Syntax : CRON_EXPRESSION COMMAND >> /OUTPUT_LOG_FILE_PATH/LOF_FILE 2>&1 Example :            The following example will append the output of the shell script test.sh to cron_output.log in the… Read More »

Read more
Alternative text

Tile – Find anything which is lost

           We live in the world of gadgets and accessories. Accessories are a part of our daily life. Some of the accessories which we use in our day to day life are mobiles, laptops, bags,wallets, keys etc. It is a regular habit of people to misplace their accessory. The accessory is… Read More »

Read more
Alternative text

Milliarcsecond to Degree Conversion and Degree (Decimal Format) to DMS (degree/minute/second) for Latitude/Longitude Conversion

Milliarcsecond to Degree (Latitude and Longitude) Degree (for both Latitude and Longitude) = Milliarcsecond  value/3600000   Milliarcsecond  Range Latitude Range   :   -324,000,000 to +324,000,000 Longitude Range:   -648,000,000 to +648,000,000 Degree Range (Decimal Format) Latitude Range   :   -90 to +90 Longitude Range:   -180 to +180 Degree (Decimal Format) to DMS (degree/minute/second) Format Degree=int(Degree)… Read More »

Read more
Alternative text

Logstash – Process Same Log File (File Input) from Beginning/Start

     Many might have faced this problem while using Logstash to process same log file from the beginning. The problem is that when you kill/stop a Logstash (file input) process and start it again, the process will continue from where Logstash left previously. For example, consider a logstash instance processing a file containing 1000… Read More »

Read more
Alternative text

Linked List in C – Check whether Linked List is Palindrome using Stack

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Check whether Linked List is Palindrome using Stack : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; void print(struct node **head) { struct node *temp=*head; printf("\nList:"); while(temp!=NULL)… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]