"Using "if" statement checks for a file called "student.txt" in the current directory. Removes (deletes) the file if it exist. This file will collect last name, first name, and grade for 5 people.

Use a while loop to get the information (last name, first name, and age) for 5 people. grade should be 0-100. Use three different variable names (fname, lname, and grade) to read the data from the keyboard.

Store the data read from the keyboard in a file called "student.txt". After reading all the data for 5 people, display contents of name.txt file on the monitor.

There are many versions of Unix scripts, csh, ksh, bash, etc.

You may want to specify which one, and also post what your proposed script would be, and difficulties, if any.

To accomplish this task, you will need to use the Python programming language. Here is an example code that will perform the desired operations:

```python
import os

# Check if the file "student.txt" exists and remove it if it does
if os.path.exists("student.txt"):
os.remove("student.txt")

# Open the file in write mode
file = open("student.txt", "w")

# Use a while loop to get information for 5 people
count = 0
while count < 5:
# Get the input from the user
fname = input("Enter First Name: ")
lname = input("Enter Last Name: ")
grade = int(input("Enter Grade (0-100): "))

# Write the data to the file
file.write(f"{lname}, {fname}, {grade}\n")

count += 1

# Close the file
file.close()

# Open the file again in read mode
file = open("student.txt", "r")

# Read and display the contents of the file
contents = file.read()
print(contents)

# Close the file
file.close()
```

This code first checks if the file "student.txt" exists and removes it if it does. Then, it opens the file in write mode and uses a while loop to get the information (first name, last name, and grade) for 5 people from the user. The data is then stored in the file. Finally, it opens the file again in read mode, reads its contents, and displays them on the screen.

Make sure to save this code with a .py extension and run it using a Python interpreter to see the desired results.