DIGIT-ARC read-only archive · snapshot: July 23, 2026

Need help shell programing

2 posts · originally from https://geek.digit.in/community/threads/need-help-shell-programing.146610/

Bhav
Bhav Original post #1
Sep 19, 2011 at 11:16 AM
Q1.Write a shell program to generate the first 25 prime numbers

Q2.Write a shell program to cipher all the text/content in any text document in the current working directory and also use another shell program to decipher it to read. Use any scheme for ciphering.

Q.3Consider the following set of processes:

Process Burst time (ms)

P1 10
P2 29
P3 3
P4 7
P5 12

Evaluate the performance of FCFS, SJF and RR (Quantum = 10 ms) algorithms for scheduling the above processes



plzzzz tell me the answer of this questions plzzz its urgent :cry::cry::cry::cry:
Garbage
Garbage #2
Sep 19, 2011 at 2:17 PM
There is nothing called as Shell *Program*. It is called as Shell *script*.

Anyways, for your first question, I google for you. And I guess this should work for you - Shell Scripting: Shell Script To Produce Prime Numbers Within A Range