Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to find all the log files under the root directory -- Need Info Post 302087809 by RishiPahuja on Wednesday 6th of September 2006 03:09:27 AM
Old 09-06-2006
This should do:
find $DIR -name "*.log" -exec rm -rf {} \;
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Files in work directory reverting to root ownership

Hi, I have a problem with a Unix server we do not adminster but have an application running on. The problem is that overnight, files in the /user4/work directory revert to root ownership. This causes problems as we cannot process the files. 1) What would be causing files to revert to root... (1 Reply)
Discussion started by: canman
1 Replies

2. AIX

Help Using Grep command to Find the string in the files in the root directory

I want to serch for a string in all the files in the root directory. i want the search to be limited to only the files in the directory i.e the search to be done only in the files not in the sub directory. the approaches tried are 1)grep "pattern string" this command was serching the... (3 Replies)
Discussion started by: Subbu_Angeline
3 Replies

3. AIX

need to extract info from log files

hi guys i need to extract information from log files generated by an application. log file has the following lines for each process.. ---------------------------------------------- Fri Aug 03 12:06:43 WST 2007 INFO: Running project PROJECT1 Fri Aug 03 12:06:43 WST 2007 INFO: Source Files... (7 Replies)
Discussion started by: kirantalla
7 Replies

4. Shell Programming and Scripting

Find files older then today & display with timestamp info

Small query- I want to do some operation on all the files older then today. Before I do that operation, i want to verify if the command works properly or not. Surprisingly, the command below returns me file, which are created today - find /mrk_archive/PG/ftp/incomming/gbs/2008 -type f... (2 Replies)
Discussion started by: kedar.mehta
2 Replies

5. UNIX for Dummies Questions & Answers

How to find files with ERROR's in log directory

Using a Single Unix Command how can i find all of the files ending in .log in the /output directory tree that have the string “ERROR:” in the file I tried these but was not successful: cd /output; ls *.log | grep "ERROR:" (2 Replies)
Discussion started by: ramky79
2 Replies

6. AIX

how to find whats filling up Root Directory

Hi guys I am running AIX 5.3 and a newbie to it. And I am getting reports telling me that the Root Directory is reaching almost max capacity, can someone give m some advice to find out what files are causing it to grow? , or how I can identify the growing files? Thanks (6 Replies)
Discussion started by: ryanbsc@gmail.c
6 Replies

7. UNIX for Dummies Questions & Answers

how to find a path within unix root directory

I need to know whether nyfile/mypath exists on the file system in the root directory. How to do this (1 Reply)
Discussion started by: ramky79
1 Replies

8. UNIX for Dummies Questions & Answers

find large files in root filesystem and exclude others

I am wondering if there is a way to search for top 10 files in size in root filesystem but exclude all other mounts including nfs mounts . For example excluded /var /boot /app /app1 /u01/ (1 Reply)
Discussion started by: gubbu
1 Replies

9. Red Hat

Find and Chown all files in a DIR except for Root

RHEL 6.3 Could someone tell me how to use the find and chown command to replace all files in a directory owned by user1 (for this example) and replace with user1:group1? Most importantly I dont want to change any files owned by root. I recently used the following command but it changed the root... (4 Replies)
Discussion started by: gps1976
4 Replies

10. UNIX for Dummies Questions & Answers

How to find directory listing from root to all files in tree format with details of perm/own/grp?

Hi, My apologies if my query is already available on this forum but I am new and could not find. I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this? ... (4 Replies)
Discussion started by: 8709711
4 Replies
KADU(1) 						      General Commands Manual							   KADU(1)

NAME
kadu-config - script to get information about the installed version of kadu SYNOPSIS
kadu-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--data-dir] [--modules-dir] [--qt-moc-dir] DESCRIPTION
kadu-config is a tool for retrieving the library/include paths kadu was compiled with. Useful for folks compiling their own Kadu modules outside the main source tree. kadu-config is based on xmms-config from the XMMS package. OPTIONS
kadu-config accepts the following options: --prefix[=DIR] If specified, use DIR instead of the installation prefix that kadu was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options. --exec-prefix[=DIR] If specified, use DIR instead of the installation exec prefix that kadu was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --version Print the currently installed version of kadu on the standard output. --libs Print the linker flags that are necessary to link kadu to a program. --cflags Print the compiler flags that are necessary to compile a program that uses kadu. --data-dir Print the directory that the kadu's icons, emoticons and sounds themes are installed in. --modules-dir Print the directory that the kadu's modules keep their description and data files. --qt-moc-dir Print the directory that the Qt's moc compiler is installed in. AUTHOR
kadu was written by Kadu Team (see /usr/share/kadu/doc/AUTHORS file for details). Copyright (C) 2007, 2008 Patryk Cisek <patryk@debian.org> This manual page was written by Patryk Cisek <patryk@debian.org> for the Debian project, based heavily on the xmms-config manual by Christopher Martin <chrsmrtn@debian.org> and may be used by others. This manual may be distributed under the terms of GPL license version 2, or (at your opinion) any later version. On Debian GNU/Linux system, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. If you're not using Debian, you may also find full text of the license at http://www.gnu.org/licenses/. KADU(1)
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy