Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

local area network and linux

  Date: Dec 12    Category: Unix / Linux / Ubuntu    Views: 688
  

i have two questions :
>>"ps -f" commande shows all the processes which are running, but when
we type "ps -e" it shows too much processes than the first one, how
can we explain that?i've tried to understand what is said in "man ps"
but i still don't understand what is wrong in my interpretation on
these commandes.
>>my second wuestion is i've heard a strange information today,
in my system-accessing class , a friend of mine said to me that as we
have a local network in my school, we can enter into an other pc by
its name and control it,send text messages,control the cd
driver...this without that he realizes it just by typing commandes on
the terminal consol, is it possible?if yes how can we do that?

ps: as you can probably see my english is not very good, i'd be happy
to read your corrections of the faults i make,making of the stone two
birds

Share: 

 

1 Answer Found

 
Answer #1    Answered On: Dec 12    

ps -e shows all processes on the system
ps -f shows full format of the current user processes (similar to -F)

The options you use depend on what you are looking for. I usually use
ps -elF and pipe it to grep to get what I am after. Most of the time it
is to see if a particular program is running or not -- like to check for
the web server, use ps -elF | grep -i apache | grep -v grep This gives
a full listing, filters out anything with apache, ignoring case, and
gets rid of the ps command itself (which will show up since it has
apache in it also). Just try the command options until you find some
that you like - remember that you can combine the options as I did in
the example.

As for accessing other computers on your network, you cannot do that if
the users exercise a modicum of security.

 
Didn't find what you were looking for? Find more on local area network and linux Or get search suggestion and latest updates.




Tagged: