#!/bin/tcsh

#This code reads input from the keyboard and performs the action specified by the user

#Read the command from keyboard and assign it to  shell variable 'cmd'
echo  -n  "Enter your command: "
set cmd = `head -1`

#Execute the command
$cmd

echo  -n  "Enter another command: "

set cmd=$< 

#Execute the command
$cmd
