How can i refresh a directory while in a script. Is there any command or built in functionalities for refreshing a directory?
eg: If in a script, i am deleting a file from the directory using unlink function,in the next line i have to refresh the directory.