Write a Python3 program in an UNIX system environment where the program will; 1. Locate every file
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Python3 program in an UNIX system environment where the program will;
1. Locate every file in a directory that has a six number numerical ID in its name (e.g 432244_test.)
2. Isolate the ID of each file inside the directory. Files in directory will be formatted as _test_.
3. Change the name of every file inside to be _testFunction.
4. For each file with an ID change the permissions so that its executable
5. Print the contents of each file to the screen
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: