How do I delete files older than 2 days unix?
Answer / Nisha Saini
You can use the `find` command with the `-mtime` option to find files modified more than 2 days ago and then delete them using `rm`. Example: `find /path/to/directory -type f -mtime +2 -exec rm {} ;`
| Is This Answer Correct ? | 0 Yes | 0 No |
Is unix os free?
Explain pid.
Explain kernal and shell?
What is the home directory in unix?
How can you edit a large file without opening it in unix?
Does windows use unix?
Define a single-user system.
How old is unix?
Which file system is used in unix?
Is a form of interprocess communication in unix?
What is a filter in unix?
What is .login file in unix?