Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below is the linux script of generating 1Billion records of random numbers. Can someone successfully run it for i in {1..1000000000} do echo $RANDOM >>
Below is the linux script of generating 1Billion records of random numbers. Can someone successfully run it
for i in {1..1000000000} do echo $RANDOM >> file1.txt done
and share following details:
(1) The size of "file1.txt" (2) How much time it took? (3) OS version, Memory and CPU details of the machine on which it was executed. I have tried multiple system resources (on my VM) but script gets killed with "Out of memory" error in /car/log/messages file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started