06-19-2010
Ok but the problem is to find user owner most recently file in the system
If this user is "bin" ?
My solution find it!
10 More Discussions You Might Find Interesting
1. Solaris
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)
Discussion started by: brizrobbo
4 Replies
2. UNIX for Dummies Questions & Answers
How to know owner of a file without ls and find command :p (1 Reply)
Discussion started by: swat
1 Replies
3. Shell Programming and Scripting
hi gurus,
i would like to know how can i find logs files which were recently modified or updated? :confused:
using this command?
find . -name "*.log" -mtime ??
so what should i put for mtime?
thanks.
wee (9 Replies)
Discussion started by: lweegp
9 Replies
4. UNIX for Dummies Questions & Answers
How do I do it? Simple answers preferred... using BASH.. the less code the better.
I want to find out where Indesign is caching PDF tmp data ... I figure this is a good way to do it.. either way i wanna know how to do it. (2 Replies)
Discussion started by: glev2005
2 Replies
5. Ubuntu
Hi,
I need to find out who are all the users logged out recently or some minutes or some hours ago.
:b: (4 Replies)
Discussion started by: balan_mca
4 Replies
6. Shell Programming and Scripting
Good morning everybody,
I'm using Minix and I want to find the user with less number of files in the system
I have tried this solution:
#! /bin/sh
indice=0
listaCut=$(cut -f 3 -d : /etc/passwd)
for USER in $listaCut; do
cont=0
listaFind=$(find / -user "${USER}" -type -f)
... (4 Replies)
Discussion started by: Guccio
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can you guys tell me how do i find the most recently changed files, say an hour before, few hours before, a day before etc....
Thanks!!!! (3 Replies)
Discussion started by: raghu_shekar
3 Replies
8. Shell Programming and Scripting
i am prompting for a name to search.
read user
if
then
however, i get this error:
please enter a username on the system:
fool
menu_script2.sh: line 123: (4 Replies)
Discussion started by: icelated
4 Replies
9. Solaris
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies
10. Shell Programming and Scripting
Hello
I have a file containing the list of different folders like this file_list.txt:
/s8/tests/test1
/s8/tests/tests/test2
/s8/tests/test2
/s8/tests/tests/test2/test5
I want a script to put the owner user of each folder in front of it in the text file.
So the reult would become... (5 Replies)
Discussion started by: Johanni
5 Replies
ff_vxfs(1M) ff_vxfs(1M)
NAME
ff_vxfs: ff - fast find: list file names and statistics for a VxFS file system
SYNOPSIS
num] num] inode-list] num] file] prefix] special...
DESCRIPTION
reads the inode list and directories of each special file, assuming it to be a VxFS file system, and prints inode data for files that match
the selection criteria. Output consists of the pathname for each saved inode, plus any other file information requested using the print
options below. Output fields are positional. The output is produced in inode order; fields are separated by tabs. The default line pro-
duced by is:
pathname inumber
The pathname is preceded by a dot unless you specify the generic option. The maximum information displays is:
pathname inumber size owner
The num parameter in the options descriptions is a decimal number, where means more than num days, means less than num days, and num means
exactly num days. A day is defined as a 24-hour period.
prints summary information to standard error output in addition to the report sent to standard output.
Options
recognizes the following options:
Select a file if the inode has been accessed in
num days.
Select a file if the inode has been changed in
num days.
Specify the VxFS file system type.
Generate names for any inodes specified in the
inode-list.
Do not display the inode number after each pathname.
Generate a list of all pathnames for files with more than one link.
Select a file associated with the inode if it has been modified in
num days.
Select a file associated with an inode
if it has been modified more recently than the specified file.
Add the specified
prefix to each pathname. The default prefix is dot
Print only special files and files with set-user-ID mode
(VxFS-specific option).
Write the file size, in bytes, after each pathname.
Write the owner's login name after each pathname.
Echo the completed command line, but performs no other action.
The command line is generated by incorporating the user specified options and other information derived from This
option allows the user to verify the command line.
Operands
recognizes the following operand:
special Name of a VxFS file system.
EXAMPLES
List the pathnames and inumbers of all files in the file system
Same as above, but suppress the printing of inumbers:
List files on the same file system that have been modified in the last two days displaying the pathname, inumber, and owner's user name
List all files on the same file system, including the pathname and inumber of each file, that were last accessed more than 30 days ago
Find all pathnames associated with inodes and
Execute the command on a VxFS file system
FILES
Static information about the file systems.
SEE ALSO
find(1), ff(1M), ncheck_vxfs(1M), fstab(4).
ff_vxfs(1M)