[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie looking for some answers please...........



Incoming from charlie derr:
> Chad wrote:
> >I just installed Debian 3.0 r3. I'm a newbie and looking for some
> >anwers to some of my questions...if someone can anwser one, some, or
> 
> $ export COLUMNS=150
> $ dpkg -l

You don't need the export.  Here's a nice alias:

   pkgl='COLUMNS=120 dpkg -l'

> >2. How do you check for all running services and how to start/stop
> >system services that are unused?
> 
> $ ps aux

Or try "ps fax"; that'll give you a "tree view" of all processes.

> >3. How do you check for all open ports and what programs are using the
> >ports.
> 
> netstat is probably what you want

/bin/netstat -tnupl
/bin/netstat -nr


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling      Please don't Cc: me.
- -



Reply to: