Home | Contact Us | Sitemap
DWHlabs provides Data Warehouse education services.This web portal is very useful to the Database professionals,
Data Warehouse professionals, UNIX professionals etc.,
  About Us Advertise Support us Tell your Fren Testimonial Contact Us  
 
 
Please help us continue development of this website and it's services!
 
 

 


 
UNIX Lab -SHELL SCRIPTING
Sponsered Links
 
 
 
Shell Scripting Exercise  
   
 
13 Write a script to creat a menu using case?

$vi menu_case.sh
clear
tput cut 10 25
echo "main menu"
tput cut 11 25
echo "------------"
tput cut 12 25
echo "1.Date "
tput cut 13 25
echo "2.All files"
tput cut 13 25
echo "3.All Users"
tput cut 14 25
echo "4.No items found"
read choice
case $choice in
1)echo "Today Date ::" `date`
;;
2)ls -f
;;
3)finger
;;
*)exit
;;
esac
:wq

** How to excutre shell script ?
$./open.sh or $sh open.sh

DWH 3Colors
CERTIFICATION GUIDE
DATA DICTIONARY
ALL ARTICLES
   
Data Warehouse Lab

- ETL TOOL
INFORMATCIA
OTHER TOOLS

- REPORTING TOOL

BUSINESS OBJECTS
OTHER TOOLS

Database Lab

- ORACLE
SQL
PL/SQL

- DB2
OTHER TOOLS

Unix Lab

Project Lab

DWH Schools

Books Store


 
  About Us Advertise Support us Tell your Fren Testimonial Contact Us  
© 2008 DWHlabs
Privacy Policy | Terms & Conditions