#!/bin/bash timestamp=$(date +"%s") touch file1"$timestamp".log file2"$timestamp".log file3"$timestamp".log file4"$timestamp".log file5"$timestamp".log echo "The 5 files are created with timestamp successfully" chmod 444 file1"$timestamp".log file2"$timestamp".log file3"$timestamp".log file4"$timestamp".log file5"$timestamp".log echo "The file permissions are modified with read-only for all the users successfully."