World of Codes
"Software should be available freely" -Linus Torvalds.
Pages
Home
SHELL SCRIPTING/LINUX
JAVA
8086
ADVANCED JAVA
COMPUTER GRAPHICS
PROJECT FREELANCER
Monday, October 28, 2013
TO FIND IF NOS ARE EQUAL OR NOT USING SHELL SCRIPT
#TOPIC :TO FIND IF NOS ARE EQUAL OR NOT IN SHELL SCRIPT
echo "enter a:"
read a
echo "enter b:"
read b
if [ $a -eq $b ]
then
echo " numbers are not equal"
else
echo "nos are equal"
fi
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment