Write a bash shell script that asks the user for a number


Write a bash shell script that asks the user for a number and then tells the user whether the number is a prime number or not.  

Need the answer to use /tmp/primes, a file containing the first million known primes.

Need the answer to manually performs an exhaustive search (and therefore works on any number).

 

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a bash shell script that asks the user for a number
Reference No:- TGS01074505

Expected delivery within 24 Hours