Output will be as follows for both the commands.
Here above 1st command will check a directory named test11 in all the directories and sub directories of the present working directory, 2nd command will check all files which have names like test12 and etc in it's name to all sub directories too. If you want to limit the search in command you can use -maxdepth command with it. You can read man find for more information.
Hope this helps.
Thanks,
R. Singh
Last edited by RavinderSingh13; 11-04-2014 at 12:50 AM..
Reason: Adding comments to codes
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
I'm trying to find the 50 largest file in a directory named /sasdb and its' subdirectories. I'm using the find command and a pipe to awk
Not sure if I'm actually getting the largest files from this directory and its subdirectories. Here is the code I used...
find /sasdb -ls | awk '{print... (8 Replies)
Hi all
I want to find a particular file type lets say .abc under /home/oracle/, the file name is start with 'D' and followed by ddmmyyyy date format, the file name should look like this D19092008.abc To my question, how can i perform the searching from the date 19/09/2008 to 29/09/2008. The... (3 Replies)
Hi,
I wanted to delete all the files under a directory "/apps/tmp/" which are two weeks older. But i should not delete the sub-directories and the contents of sub-directories.
I also have searched in forum and found the following command,
find . \( ! -name . -prune \) -mtime +13 -print
... (8 Replies)
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which... (4 Replies)
Hello all,
I am having a hard type in figuring out how to only gather certain files in the current directory without exploring its subdirectories.
I tried:
find . -name "*.ksh" -prune
this also returns ksh files from lower subdirectories.
I also tried
find . -ls -name "*.ksh"
This also... (8 Replies)
Ok i have three directories
Destination - /u/dir1 (has subdirectories dir2 which also has subdirectory dir3)
Source1 - /u/test/files/dir1/dir2/dir3
Source2 - /u/out/images/dir1/dir2/dir3
What i would like to do is copy everything from Source1 and Source2 into the Destination directory.... (3 Replies)
Hi All,
I am creating one script to Archive the older log files to Archive folder and deleting older files.
For example below path contains different sub folders. So searching for log files older than 2 days then zip and moving to Archive directory in the same directory.
Source files :-... (4 Replies)
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
LEARN ABOUT OSF1
uucheck
uucheck(8) System Manager's Manual uucheck(8)NAME
uucheck - Checks for files and directories required by uucp
SYNOPSIS
uucheck [-v] [-xdebug_level]
FLAGS
Displays a detailed explanation of how the uucp program interprets the permissions file. Displays debugging information. The valid range
for debug_level is 0 to 9. The higher the number, the more detailed the final report.
DESCRIPTION
The uucheck command verifies the presence of the files and directories required by the uucp program. In addition to checking for the pres-
ence of files required by uucp, the uucheck command also checks for some errors in the /usr/lib/uucp/Permissions file.
The uucheck command does not check for correct file and directory modes or for errors in the /usr/lib/uucp/Permissions file, such as dupli-
cate login or machine names.
When the uucp program is installed, uucheck verifies that the directories, programs, and support files required to operate the networking
facility are present. The command is executed automatically, as one of the first steps in the installation process, before the required
uucp directories, programs, and files are actually installed.
Issue the uucheck command from the command line after installing uucp, configuring uucp for your site, or making changes in part of the
uucp program, such as the /usr/lib/uucp/Permissions file.
Note that the uucheck command can only be issued from the command line if you have superuser authority.
EXAMPLES
To find out how the uucp program interprets the /usr/lib/uucp/Permissions file, enter: uucheck -v The -v flag instructs the uucheck command
to verify that the uucp files exist and displays a detailed explanation of how the uucp programs interpret the permissions file. To set
the debug level to 8, enter: uucheck -x8
FILES
Specifies the command path Information about available devices Limits scheduled jobs Limits remote command executions Describes access per-
missions for remote systems Describes accessible remote systems Spooling directory Public directory Prevents multiple use of device nn
RELATED INFORMATION
Commands: uucico(8), uusched(8), uucp(1), uustat(1), uuto(1), and uux(1) delim off
uucheck(8)