06-09-2010
find / really should search all over the disk. can you give an example of a file it's not finding? A directory in its path might really be a symlink to somewhere else. Or you might simply not have permissions to search those directories.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Which command should I use to get the list of all the .pl scripts on the unix server...
Thanks in advacne,
Venky (3 Replies)
Discussion started by: venkyA
3 Replies
2. UNIX for Dummies Questions & Answers
what is the difference between login and profile scripts versus the rc scripts? (1 Reply)
Discussion started by: rookie22
1 Replies
3. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
4. Shell Programming and Scripting
Hi
Can anyone please help me in knowing the list of scripts which are running in cron .
I mean suppose there are users
1.A
2.B
3.C
4.D
5.E
users on a pariticular server
I need to have a script which will display all the scripts that are runnin in cron for all the above users ? is it... (1 Reply)
Discussion started by: mskalyani
1 Replies
5. Shell Programming and Scripting
Hi folks
I use a Solaris 10 box with Bash shell.
I have here a script (it works!) to list all scripts in crontab which contains the string "sqlplus":
for i in $(ls `crontab -l | grep -v '#' | awk '{ print $6 }' | grep -v '^$'`); do grep -l 'sqlplus' "$i"; done
Is there a more elegant... (1 Reply)
Discussion started by: slashdotweenie
1 Replies
6. Shell Programming and Scripting
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies
7. UNIX for Dummies Questions & Answers
I am trying to show the number of dead accts or false shells running and include a count at the end. Does anyone know how to go about this? Thanks - citizencro (3 Replies)
Discussion started by: citizencro
3 Replies
8. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
9. OS X (Apple)
i have this code that i want to run but it is not working
i.e if the user slected say production it will then run the command for production
any ideas what i need to change
set question to choose from list {"production"}
set answer to question
if answer question is "Production: then ... (5 Replies)
Discussion started by: ab52
5 Replies
10. Shell Programming and Scripting
I am writing a bash script to run test some scripts.
The names scripts of the scripts to tests are stored in an array.
scptArr='chcksfrd.bash'
scptArr='compute-misfit.bash'
scptArr='compute-travel-times.bash'
scptArr='create-data-tinv.bash'
scptArr='create-docs.bash' ... (3 Replies)
Discussion started by: kristinu
3 Replies
whereis(1) General Commands Manual whereis(1)
NAME
whereis - locate source, binary, and/or manual for program
SYNOPSIS
dir... name...
DESCRIPTION
locates source, binary, and manuals sections for specified files. The supplied names are first stripped of leading path name components
and any (single) trailing extension of the form (such as Prefixes of resulting from use of SCCS are also dealt with. then attempts to
locate the desired program in a list of standard places.
Options
recognizes the following command-line options:
Limit search to binary files.
Can be used in conjunction with or
Limit search to source-code files.
Can be used in conjunction with or
Limit search to manual entry files.
Can be used in conjunction with or
Search for unusual entries.
A file is said to be unusual if it does not have one entry of each requested type. Thus, searches for those files in
the current directory that have no corresponding manual entry.
Limit search to binaries located in one or more specified directories.
Can be used in conjunction with or
Limit search to source files located in one or more specified directories.
Can be used in conjunction with or
Limit search to manual entry files
located in one or more specified directories. Can be used in conjunction with or
Terminates the last directory list
or options) and identifies the start of file names.
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
EXAMPLES
Find all the files in that are not documented in with source files in
WARNINGS
uses the system call (see chdir(2)) to run faster. Therefore, path names given with the and options must be absolute path names.
AUTHOR
was developed by the University of California, Berkeley.
FILES
whereis(1)