1. WA Shell
script to find Fibonacci series of a given number.
echo "enter
number"
read n
k=1
i=0
j=1
echo $i
while [ $k -le $n ]
do
echo $k
k=`expr $i + $j`
i=$j
j=$k
done
2. WA Shell
script to find...
WA Shell script to find given number is odd or even.
echo "Enter No"
read a
e=`expr $a % 2`
if test $e -eq 0
then
echo "Even"
else
echo "odd"
fi
2. WA Shell script to find given number is prime or not.
echo "enter no"
read n
i=1
k=0
while [ $i -lt $n ]
do
j=`expr $n % $i`
...
$date
Date command is used to display
date date and time
-$date +%m
Displays only month
-$date +%h
Displays only month in word
-$date +%d
Displays only date
-$date +%y
Displays only year
-$date +%H/M/S
Displays Hours/Minutes/Seconds
$man
Displays manual for commands
$cal
Displays the current month calendar
$who
Displays the...
UNIX is an interactive system designed
to handle multiple processes and multiple users at the same time. It was
designed by programmers, for programmers, to use in an environment in which the
majority of the users are relatively sophisticated and are engaged in (often
quite complex) software development projects. In many cases, a large number of
programmers...