Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-02-2008, 12:07 PM   #1
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, 12:13 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
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, 01:58 PM   #3
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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..

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


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 01:40 AM
basics of linux wireless? slinky2004 Linux - Hardware 4 09-21-2005 02:08 PM
Basics of Linux Security jrdioko Linux - Security 9 07-17-2004 12:58 AM
Linux Command Line Basics civicsi Linux - Newbie 6 04-24-2004 04:14 PM programmin in Linux. Nanu Programming 3 04-12-2003 07:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:07 AM.

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