Friday, March 9, 2012

Shells,uname,press enter to ciontinue

1.Bourne Shell : No alias , no command history
2.C shell
3.Tc shell tcsh
4.Korn shell
5.Bourne Shell

Echo $SHELL to know your shell
Linux uses bash shell by default

uname -> name of OS  -> SuOS for sun solaris

uname -arv
List the basic system information, OS release, and OS version as shown below.
SunOS hope 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-10
uname -p
Display the Linux platform.



External command -> ls
Internal command -> cd,pwd

ls is an alias of ls -p




#!/bin/bash
# init

read -p "Press [Enter] to continue order..."
if $readEnterKey true
         then
echo "Your Order has been Completed"
         else
         echo "please press enter key samjhe "
fi

No comments:

Post a Comment