You are not logged in.

#1 2008-01-02 18:47:13

kiguru
Member
Registered: 2007-11-27
Posts: 31

need some command help

my  first question is

how can i find files with size(more than 100 mb) in a particualr directory(/var/log) from shell?

and second is

as "lsmod" list running modules is there any command to list running daemon?

Offline

#2 2008-01-02 18:57:35

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: need some command help

No command (that I know of) to list running daemons, since daemons are just regular applications running in the background.  You can check the output of ps -aux or ls /var/run/daemons to get an idea.

To find files with a size more than 100MB, use the 'find' command:

find /var/log -size +100M

Check out man find for more information

Last edited by Cerebral (2008-01-02 18:58:42)

Offline

#3 2008-01-02 19:12:53

kiguru
Member
Registered: 2007-11-27
Posts: 31

Re: need some command help

thanx cerebral and congrats on 2008 posts in year 2008.
keep helping newbies like me

Offline

Board footer

Powered by FluxBB