Question: Using Linux: 1) Create 4 files named file1 pdf, file2.pdf, file3.pdf and file4 pdf inside a folder. Write a for loop to create another four

Using Linux:

Using Linux: 1) Create 4 files named "file1 pdf", "file2.pdf", "file3.pdf" and

1) Create 4 files named "file1 pdf", "file2.pdf", "file3.pdf" and "file4 pdf inside a folder. Write a for loop to create another four files with the same names but with "txt" extension (filel.pdftxt, file2.pdftxt, file3.pdftxt and file4.pdf.txt). (hint: you should create txt file names by using the name of mentioned pdf files) 2) Given variable i initialized to 10, write a while loop that decrements i and ends when i equals 1. In the step where the value of i equals 3, print out the value of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!