About the Lab

To practice using File I/O (open(), write(), read(), readlines(), etc.) and string manipulation (strip() and split()), you will be creating a program that takes in information from a file, reformats it, and searches for a specific value.





Navigation and directory creation

After logging into GL, navigate to the Labs directory inside your 201 folder. Create a folder there calledl lab10, and go inside the newly created lab10 directory.

linux2[1]% cd 201
linux2[2]% cd Labs
linux2[3]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs
linux2[4]% mkdir lab10
linux2[5]% cd lab10
linux2[6]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs/lab10
linux2[7]%