Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to find a file named vijay in a directory using find command Post 302094105 by Glenn Arndt on Wednesday 25th of October 2006 09:01:41 AM
Old 10-25-2006
Do you have the appropriate read/execute permissions in that directory and/or on the file(s) that you seek?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

using find command only in current directory

I am trying to use the find command to find files in the current directory that meet a certain date criteria. find . -type -f -mtime +2 However, the above also checks the directories below. I tried -prune, but that seems to ignore this directory completely. I read about using -path w/... (5 Replies)
Discussion started by: jliebling
5 Replies

2. Shell Programming and Scripting

how to find a file in UNIX without find command?

given a start directory,a filename,how to find it? (3 Replies)
Discussion started by: bluo
3 Replies

3. UNIX for Dummies Questions & Answers

how to use sed or perl command to find and replace a directory in a file

how to use sed command to find and replace a directory i have a file.. which contains lot of paths ... for eg.. file contains.. /usr/kk/rr/12345/1 /usr/kk/rr/12345/2 /usr/kk/rr/12345/3 /usr/kk/rr/12345/4 /usr/kk/rr/12345/5 /usr/kk/rr/12345/6 /usr/kk/rr/12345/7... (1 Reply)
Discussion started by: wip_vasikaran
1 Replies

4. Linux

Simplified find command to find multiple file types

Hi, I'm using the following command to find the multiple requierd file types and its working fine find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies

5. Shell Programming and Scripting

How to use grep & find command to find references to a particular file

Hi all , I'm new to unix I have a checked project , there exists a file called xxx.config . now my task is to find all the files in the checked out project which references to this xxx.config file. how do i use grep or find command . (2 Replies)
Discussion started by: Gangam
2 Replies

6. Shell Programming and Scripting

Find multiple string in one file using find command

Hi, I want find multiple string in one file using find coomand. And keeping it in one variable.grep is not working. (5 Replies)
Discussion started by: vivek1489
5 Replies

7. Shell Programming and Scripting

wanted to find both link file and ordinary file using single find command

find . -type fl o/p is only the ordinary file. where in it wont give the link files. (2 Replies)
Discussion started by: nikhil jain
2 Replies

8. Shell Programming and Scripting

Find every directory named XYZ under the DVLP directory

I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies

9. Shell Programming and Scripting

Find Command Include Sub Directory

This script writes the output files to FILES but I don't want to exclude all directories from ABC_CHQ and LYS_ADV, I want to include one sub directory name process which is under ABC_CHQ and LYS_ADV in the search. Right now its excluding everything from prune directories such as ABC_CHQ, LYS_ADV... (10 Replies)
Discussion started by: John William
10 Replies

10. Shell Programming and Scripting

How-To Exclude Directory in find command

How can i tweak the below find command to exclude directory/s -> "/tmp/logs" find . -type f \( ! -name "*.log*" ! -name "*.jar*" \) -printNote: -path option/argument does not work with the version of find that i have. bash-3.2$ uname -a SunOS mymac 5.10 Generic_150400-26 sun4v sparc sun4v (7 Replies)
Discussion started by: mohtashims
7 Replies
whom(1mh)																 whom(1mh)

Name
       whom - report to whom a message is addressed

Syntax
       whom [ options ] [ file ]

Description
       The  command is used to expand the headers of a message into a set of addresses, and optionally to verify that those addresses are deliver-
       able at that time if -check is given.

       The command is often invoked as one of the options offered by the program when you have finished editing a draft  message.   See  for  more
       details.

       If  you	want to run on a named file, you can supply a file argument.  This argument allows you to specify a named file; if you want to run
       on an existing message, use the -draftfolder and -draftmessage options.	If you do not give an absolute pathname (one beginning with a / or
       ./ or ../ ), assumes that the named file is in your current working directory.

Options
       -alias aliasfile
		 Specifies  the  alias file to be consulted by If you have used one or more aliases in your message header, will consult the named
		 file to find those aliases, and will print the full addresses as its output.  You can reference more than one file, but each file
		 name must be preceded by the word -alias.  See for more information.

       -check
       -nocheck  Checks  that  the  addresses  are  valid.  makes no guarantees that the addresses listed as being correct are really deliverable:
		 rather, an address being listed as correct means that at the time that was run, the address was thought to be deliverable by  the
		 transport  service.   For local addresses, this means that the local user does exist, and that the address was deliverable at the
		 time of checking.  For network and uucp addresses, it means that the syntax of the address is valid.

       -draft	 Sets the draft message to be the standard file in your Mail directory.

       -draftfolder folder
       -nodraftfolder
		 Specifies the folder in which searches for the draft message.	The default is to use the current message  in  the  named  folder.
		 You  can select another message by using the -draftmessage option.  For more information on using a draft folder, see The -draft-
		 folder option is often set up in your user profile; see for more information.

       -draftmessage msg
		 Specifies the draft message to be used.  If you specify a folder with the -draftfolder option, the -draftmessage option takes the
		 number  of a message in that folder.  If you do not specify a folder, -draftmessage takes the name of a file.	If you do not give
		 an absolute pathname (one beginning with a / or ./ or ../ ), -draftmessage assumes that the file is located in your  Mail  direc-
		 tory.

       -help	 Prints a list of the valid options to this command.

       -mts smtp Specifies the format of the addresses to be checked.  The only value allowed is smtp, which checks that addresses are deliverable
		 over the standard ULTRIX mail system.	Additional values are supported only for use with other mail systems.

       The defaults for this command are:

	      file defaults to
	      -nocheck
	      -alias /usr/lib/mh/MailAliases
	      -mts smtp

Restrictions
       For this version, the -mts option only supports the value smtp.	Additional values are supported for use only with other mail systems.

Examples
       In the following example, would use the current message in the folder:
       % whom -draftfolder +drafts
	 smith: address OK

       In the next example, searches for message 2 in the folder
       % whom -draftfolder +drafts -draftmessage 2
	 davis@hostname: address OK

Profile Components
       Path:	       To determine your MH directory (mh-dir)
       Draft-Folder:   To find the default draft-folder
       postproc:       Program to post the message

Files
       The user profile.

See Also
       comp(1mh), mh-alias(5mh), post(8mh)

																	 whom(1mh)
All times are GMT -4. The time now is 10:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy