Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by the OS in linux.
Need a command which could make the execution of the above script possible before the shut down command is passed .
THE COMPUTER SHOULD NEVER SHUT DOWN.