LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-02-2008, 01:07 PM   #1
technova@gmail.com
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Question Linux Basics


Hi all,

If someone can let me know as to what command need to be used to check the services

like we use services.msc for WINDOWS
 
Old 06-02-2008, 01:13 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
This will likely depend on your Linux distribution, particularly if you require a GUI tool to view/modify your services.

One example: the Red Hat-family distros provide a nice TUI application for this purpose.

# chkconfig --list | less

It'd be a good idea for you to pick up a (recent) book on Linux for beginners at your local library or book store.
 
Old 06-02-2008, 02:58 PM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Would help to know what Linux distro you are using.. there are a few differences in the commands for some functions between distros.

In Debian you can use :

to view/alter what services run at startup sysv-rc-conf or rcconf

To view current running processes ps

To stop or start a service manually /etc/init.d/servicesname stop

apropos is a good command to learn as well.. with apropos you can search for a command to do a specific task...

for instance if you wanted to search for some commands that relate to processes..

Code:
it-etch:/var/log# apropos processes

exiwhat (8)          - Finding out what Exim processes are doing
fuser (1)            - identify processes using files or sockets
gnome-system-monitor (1) - view and control processes
killall (1)          - kill processes by name
killall5 (8)         - send a signal to all processes.
mysql_zap (1)        - kill processes that match a pattern
peekfd (1)           - peek at file descriptors of running processes
pgrep (1)            - look up or signal processes based on name and other attributes
pkill (1)            - look up or signal processes based on name and other attributes
ps (1)               - report a snapshot of the current processes.
pstree (1)           - display a tree of processes
pstree.x11 (1)       - display a tree of processes
renice (1)           - alter priority of running processes
smbcontrol (1)       - send messages to smbd, nmbd or winbindd processes
You certainly won't always find the command you are looking for on the first try, but it is a good tool for learning what some of the commands are in Linux. Once you get your list of commands you can use man to learn more about the specific command i.e.: man ps
 
  


Reply

Tags
as, can, check, command, if, let, services, used


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux basics n00by Mandriva 5 06-20-2007 02:40 AM
basics of linux wireless? slinky2004 Linux - Hardware 4 09-21-2005 03:08 PM
Basics of Linux Security jrdioko Linux - Security 9 07-17-2004 01:58 AM
Linux Command Line Basics civicsi Linux - Newbie 6 04-24-2004 05:14 PM
Basics..in programmin in Linux. Nanu Programming 3 04-12-2003 08:29 PM


All times are GMT -5. The time now is 12:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration