We have regularly questions about how to create users and user accounts. But regularly user accounts need to be deleted too. It is quite easy to delete the user account itself but usually the HOME directory of the user remains.
It is good style to remove these directories but simply deleting... (3 Replies)
I have noticed that after I clear up the /var filesystem, there are always problems.
Does deleting the OLDsyslog.log file cause problems like missing directories and problems accessing crontabs?
There were two situations where I faced problems.
1) Deleted OLDsyslog.log (Of course I created... (5 Replies)
I have a directory ( eg. /tmp , there are many files in it , I would like to do the houskeeping job , can advise how to develop a script to do the following .
1) if the files are elder than 10 days in this directory , the extension is .txt , then move it to /tmp/tmp-txt , the same , if the files... (2 Replies)
Hi,
I have a .ksh script which finds all the directories older than 84 days and tries to housekeep. Below is the command used
find * -depth -type d -ctime +84 -exec rm -rf {} \;
The above command lists all the directories ie child and parent directory in descending order which are more... (10 Replies)