07-06-2006
Find file on server, searching thru many folders
Hi all,
Is it possible to find a file on a server without knowing the file path? And when the file is found is it possible to find out the file path?
I would like to find a file by typing: find server/ -name "filename"
Instead of: find server/folder1/folder2/folder3/ -name "filename"
Can someone help me?
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please let me know which command and its format to use to search for a file.
Windows provides a find option but i would like to know the equivalent in UNIX.
for example i need to search for a file called uv.config and where exactly it is located in a unix server.
TIA. (4 Replies)
Discussion started by: jhmr7
4 Replies
2. Shell Programming and Scripting
About System and Perl: Sun Solaris 5.9 sparc, Perl 5.6.1
I've decided to use the perl file::find module to look for all the SETUID and SETGID files on my unix boxes. I wrote something like this: (I've shorted it a little to make it simple)
#!/opt/perl/bin/perl
use File::Find;
find... (1 Reply)
Discussion started by: x96riley3
1 Replies
3. Shell Programming and Scripting
I want to create a script which will delete all folders which are over 5 hours old in HP-UX 11.11.
I tried to use the "find" command but it didn't have an option for searching files/folder by hours.
Could some one tell me how to achieve this in HP-UX with only using the standard OS commands and... (4 Replies)
Discussion started by: stevefox
4 Replies
4. Web Development
Hi,
I've uploaded a test.html document in the folder "www" but I always receive the same error message: "It works!" instead of see the page.
Should I change the apache root directory in the config file ?
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
5. UNIX for Dummies Questions & Answers
I'm no linux guru so any help would be greatly appreciated!
I need to output all folders that do not contain a file of a certain extension.
Currently I have the following
find / ! -name '*.txt' -printf %h\\n
This doesn't work because although it finds folders that do not contain *.txt,... (2 Replies)
Discussion started by: hodnov
2 Replies
6. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
7. Shell Programming and Scripting
without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
5 Replies
8. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
9. Shell Programming and Scripting
Hi,
I am trying to fetch the different values in an xml file by searching with the same variable in AIX Server.
<name>SharedResources/Shared/JNDI/Username</name>
<value>admin</value> <name>SharedResources/Shared/JNDI/Username</name>
... (1 Reply)
Discussion started by: tejastrikez
1 Replies
10. Shell Programming and Scripting
I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
Discussion started by: cmccabe
7 Replies
LEARN ABOUT DEBIAN
dancer-ircd
dancer-ircd(8) System Manager's Manual dancer-ircd(8)
NAME
dancer-ircd - an IRC server
SYNOPSIS
ircd [-d filename] [-f filename] [-h hostname] [-k filename] [-l filename] [-n] [-v] [-x debuglevel]
DESCRIPTION
dancer-ircd is the IRC server used by FreeNode Network (amongst others), built in an effort to overcome the anachronisms, limitations, and
hysterical raisins of traditional IRC servers.
OPTIONS
-d filename
Where to find the D:line config file.
-f filename
Where to find the main config file.
-h hostname
Specify the server name this ircd will be. This should usually match it's primary hostname.
-k filename
Where to find the K:line config file.
-l filename
Where to write the logfile.
-n Do not fork, run in the foreground.
-v Print version and exit.
-x debuglevel
Sets the debug level. Higher is more data. Only effective if the ircd was compiled for debugging.
COPYRIGHT
(c) 1988,1989 University of Oulu, Computing Center, Finland,
(c) 1988,1989 Department of Information Processing Science, University of Oulu, Finland
(c) 1988,1989,1990,1991 Jarkko Oikarinen
(c) 1999-2003 Andrew Suffield
Various other people have written or contributed to this ircd, see connect to it and use "/info" in your IRC client for a fuller list.
See /usr/share/doc/dancer-ircd/copyright
FILES
/etc/dancer-ircd/ircd.conf
/etc/dancer-ircd/olines
/etc/dancer-ircd/motd
/etc/dancer-ircd/omotd
/etc/dancer-ircd/ohelp
/var/lib/dancer-ircd/dline.conf
/var/lib/dancer-ircd/kline.conf
SEE ALSO
There is more detailed documentation on some of the features of dancer-ircd to be found in /usr/share/doc/dancer-ircd, contained within the
dancer-ircd-doc package.
AUTHOR
Jarkko Oikarinen, currently jto@tolsun.oulu.fi, manual page written by Jeff Trim, jtrim@orion.cair.du.edu, later modified by
jto@tolsun.oulu.fi.
Rewritten 2001 by Andrew Suffield <asuffield@debian.org>, for the Debian GNU/Linux system (but may be used by others).
7 August 2001 dancer-ircd(8)