Global Relay interview question

write a bash script to read and edit the data inside a file on linux