Monday, 29 January 2018

SHELL SCRIPTING #1 : Create and run your first .sh file

STEP 1: Open a text file, write the below commands and save it as test.sh .

               #!/bin/bash

               echo "THIS IS MY FIRST SHELL"

STEP 2: Copy it to a folder in your unix machine.
Add caption



STEP 3 : Navigate to the folder : cd /apps/test/


STEP 4 : Run with command : ./test.sh



STEP 5 : Output : THIS IS MY FIRST SHELL





Handaling XLS File In Java

This code will help you to handle xls file in java using apache poi. package test; import java.io.File; import java.io.FileInputStream...