05-26-2007
Quote:
Originally Posted by jatin.jain
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain
the only reason i guess you can't use find is you might be doing homework. but nevertheless .. if you can't use find, use locate? the other way is to use ls with -R option.
Last edited by ghostdog74; 05-26-2007 at 06:00 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
given a start directory,a filename,how to find it? (3 Replies)
Discussion started by: bluo
3 Replies
2. Shell Programming and Scripting
Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Discussion started by: yacsil
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit.
Regards,
Giridhara Babu Tadikonda. (3 Replies)
Discussion started by: giribt
3 Replies
4. Shell Programming and Scripting
I need to write a script to find files older than 2 hours in set of direcotries and list them ina mail. I know find command ti list files greater/lesser than days but i need to do it for hours. Any input. (6 Replies)
Discussion started by: Presanna
6 Replies
5. Shell Programming and Scripting
I need to find all sticky bit dir/files on my system and clean them up if necessary.
How to I write a script to do this?
Thanks. (2 Replies)
Discussion started by: pdtak
2 Replies
6. Shell Programming and Scripting
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
Discussion started by: swamymns
9 Replies
7. UNIX for Dummies Questions & Answers
I'm writing a script that will search for files with the SUID bit turned on, and put the list in a file called id.txt
i read that files with the SUID bit turned on are chmod'd to 4000, so i tried:
find / -perm 4000 > id.txt
also various others such as -perm 4777 etc etc
but it found nothing... (1 Reply)
Discussion started by: SoVi3t
1 Replies
8. Shell Programming and Scripting
what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies
9. Shell Programming and Scripting
Hi, Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit. OS is LInux
Thanks (3 Replies)
Discussion started by: aish11
3 Replies
10. Shell Programming and Scripting
I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation.
When I tried like below,
-bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation
-bash-4.1$ find ./ -name % Retail by State
find: paths must precede expression: Retail
Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
LEARN ABOUT DEBIAN
fslint
fslint-gui(1) User Commands fslint-gui(1)
NAME
fslint-gui - A GUI wrapper for the individual fslint command line tools
SYNOPSIS
fslint-gui [OPTIONS] [PATHS]
DESCRIPTION
fslint is a toolset to find various problems with filesystems, including duplicate files and problematic filenames etc.
Individual command line tools are available in addition to the GUI and to access them, one can change to, or add to $PATH the
/usr/share/fslint/fslint directory on a standard install. Each of these commands in that directory have a --help option which further
details its parameters.
findup - find DUPlicate files
findnl - find Name Lint (problems with filenames)
findu8 - find filenames with invalid utf8 encoding
findbl - find Bad Links (various problems with symlinks)
findsn - find Same Name (problems with clashing names)
finded - find Empty Directories
findid - find files with dead user IDs
findns - find Non Stripped executables
findrs - find Redundant Whitespace in files
findtf - find Temporary Files
findul - find possibly Unused Libraries
zipdir - Reclaim wasted space in ext2 directory entries
PARAMETERS
If [PATHS] are specified, they become the default search path, otherwise the current directory becomes the default.
--version
Display the fslint version and exit
--help Display help for tool specific options
AUTHOR
Written by Padraig Brady
REPORTING BUGS
Report bugs to <P@draigBrady.com>.
COPYRIGHT
Copyright (C) 2000-2009 Padraig Brady <P@draigBrady.com>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, which is available at www.gnu.org
fslint July 2009 fslint-gui(1)