Ahh, yes, the standard find command on HP-UX only accepts blocks (512 Bytes) or bytes as parameters for the size option. The default is blocks so, your 100k would be "-size +200" or "-size +102400c". Also, the "-ls" option doesn't appear to be supported so use "-exec ls {} \;" instead.
Other than that the sort command and head command should accept those parameters so the command should work.
I am bit unclear of how Linux was set in the real world, please advise me how it's supposed to be.
When I log in as root and do a ls -l, I find: /boot, /, /var, /usr, /tmp, /home, /u01, /u02, /u03 and of of this partition is owned by root and the group also belong to root. Is that the way it's... (1 Reply)
hello
I search a script (ksh for Aix 5.3) to save all permissions, groups and owner for all files. Because we work much to change it, and a mystake ......!
So i want execute this script to save/ execute permissions for all files.
If you have this script, thank you for your help ;)
best... (2 Replies)
hi all,
i need to capture all the files in a directory and its subdirectories that have owner name different than the root owner.
for one file it is " stat -c %U filename " but i need to search for each and every file and record it.
thanks in advance (14 Replies)
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
If I have to identify the group owner of an AIX group, what is the command to be used. Example: there is an mqadm group, how do I find the owner of this group?
Please help. (6 Replies)
Dears
it is normal that the below binaries stay without any owner and group
I have checked it in many servers and the like the below
/usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt
total 248
-r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group
-r-xr-xr-x ... (5 Replies)
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
I am searchingfor files owned by particular owner and group in a particular directory including its sub-directories. I use
find <dir> -user <user> -group <group> -exec ls -l {} \;
It does not work completely. In the sense is a subdirectory is owned by 'user' and group 'group' then all... (9 Replies)
I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number.
My current find command is
find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1
---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies
LEARN ABOUT ULTRIX
uuclean
uuclean(8c)uuclean(8c)Name
uuclean - uucp spool directory clean-up
Syntax
uuclean -p[pre] [ options ... ]
Description
The command scans the spool directory for files with the specified prefix and deletes all those which are older than the specified number
of hours.
The -ppre argument causes the command to scan for files with pre as the file prefix. You can specify up to 10 arguments. A without any
pre following causes all files older than the specified time to be deleted. You must specify at least one argument.
Options-ntime Delete all files whose age is more than time, in hours, (default is 72 hours) and that have the specified pre as their file
prefix.
-m Send mail to the owner of the file when it is deleted.
-ssystem Delete files in all directories that are subdirectories of the per system spool directory that exists for system. If ALL is
specified, then all system directories are processed. ALL is the default.
-ddirectory Delete files that reside in the named directory. The default directory is The option over rides the option.
The command typically starts the program. In earlier versions, a deleted work file (C.file) would result in mail to the owner of the work
file, regardless of the option. Now, notification of deleted work files is sent to the user ID "uucp". If the option is used, mail is
also sent to the owner.
Examples
Here are some example command lines:
# uuclean -pLTMP. -pLOG. -n4 -d/usr/spool/uucp
# uuclean -d/usr/spool/uucp/.XQTDIR -p -n
# uuclean -smarkie -p -n84
The third example deletes all files for the system that are older than 84 hours.
Files
Directory with commands used by uuclean internally
See Alsouucp(1c), uux(1c), cron(8)uuclean(8c)