I'm looking for a easy way to do a recursive search through a directory structure for all files that begin with '.' that are group or other writable. Any suggestions?
For shame, that is actually in the "find" man-page EXAMPLES section.
My company Unix guru enabled fortune in my .login (dot login?) file. When i asked him how he did it he told me to search my dot files for "suspicious" text.
He wants me to learn more about all of the dot files. (1 Reply)
Hi
i am having a group of *.csh files under parent directory. Now i want to search a particular pattern in these group of *.csh files(suppose i need to search a pattern ABC - proj ). Can anyone please tell me how to do it using find command.
Thanks in advance
sarbjit (4 Replies)
Could someone help me in recursive search and ftp'ing the files to remote server?
The host machine will have
/dir1/dira/list_of_files1
/dir1/dirb/list_of_files2
/dir1/dirc/list_of_files3
.
.
.
so., I need to search from dir1 recursively (only one level down) and find all the files that... (1 Reply)
Hi all,
Since my gopher server doesn't like filenames containing 2 or more consecutive dots in a filename, I'd like to do a search for them and replace them with... well, let's say underscores...
I've tried a oneliner or 2 from other posts, but they don't seem to work well with locating dots.... (3 Replies)
Hello again.
Well, I need help again sooner as I thought. Now I want to search for files with a known name within all subdirs, and copy the to differently named files in the same directory.
For example if I had only one file to copy, I would just usecp fileName newFileNamebut to do this... (1 Reply)
So I have extremely limited experience with shell scripting and I was hoping someone could point out a few commands I need to use in order to pull this off with a shell script like BASH or whatnot (this is on OS X).
I need to search out for filenames with account numbers in the name itself... (3 Replies)
Hello.
I would like to search exactly "string1.string2.string3" and replace it by "new_string1.new_string2.new_string3"
And
I would like to search exactly "string2.string3" and replace it by "new_string2.new_string3"
And
I would not found in the result : "string1.new_string2.new_string3"... (3 Replies)
before posting, I have tried to find my answer elsewhere. no luck.
I need to find a file buried in a folder somewhere.
Master folder has 10 sub folders.
each sub folder has folders too.
I found this but it does nothing
I am on Mac and use Applescript.
do shell script "find... (2 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)
Discussion started by: Soham
9 Replies
LEARN ABOUT PHP
conflict
CONFLICT(8) [nmh-1.5] CONFLICT(8)NAME
conflict - search for alias/password conflicts
SYNOPSIS
/usr/lib/mh/conflict [-search directory] [-mail name] [-version] [-help] [aliasfiles ...]
DESCRIPTION
Conflict is a program that checks to see if the interface between nmh and the transport system is in good shape
Conflict also checks for maildrops in /var/mail which do not belong to a valid user. It assumes that no user name will start with `.', and
thus ignores files in /var/mail which begin with `.'. It also checks for entries in the group(5) file which do not belong to a valid user,
and for users who do not have a valid group number. In addition duplicate users and groups are noted.
If the -mail name switch is used, then the results will be sent to the specified name. Otherwise, the results are sent to the standard
output.
The -search directory switch can be used to search directories other than /var/mail and to report anomalies in those directories. The
-search directory switch can appear more than one time in an invocation to conflict.
Conflict should be run under cron(8), or whenever system accounting takes place.
FILES
/etc/nmh/mts.conf nmh mts configuration file
/etc/passwd List of users
/etc/group List of groups
/usr/bin/mh/mhmail Program to send mail
/var/mail/ Directory of mail drop
PROFILE COMPONENTS
None
SEE ALSO mh-alias(5)DEFAULTS
`aliasfiles' defaults to /etc/nmh/MailAliases
CONTEXT
None
MH.6.8 11 June 2012 CONFLICT(8)