List of available services
Is there any command that would show all the available services in my wheezy Debian based OS?
I know that in order to see all the running services you can use service --status-all
.
debian services
add a comment |
Is there any command that would show all the available services in my wheezy Debian based OS?
I know that in order to see all the running services you can use service --status-all
.
debian services
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09
add a comment |
Is there any command that would show all the available services in my wheezy Debian based OS?
I know that in order to see all the running services you can use service --status-all
.
debian services
Is there any command that would show all the available services in my wheezy Debian based OS?
I know that in order to see all the running services you can use service --status-all
.
debian services
debian services
asked Jan 9 '14 at 17:37
Dragos RizescuDragos Rizescu
5941511
5941511
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09
add a comment |
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09
add a comment |
5 Answers
5
active
oldest
votes
Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d
, so ls /etc/init.d
will list them. These files also contain a description of the service at the top, and the directory contains a README
.
Some but not all of them have a .sh
suffix, you should leave that off when using, eg., update-rc.d
.
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am runningsystemd
on mywheezy
system.
– jordanm
Jan 9 '14 at 20:21
add a comment |
On Debian jessie try: service --status-all
.
It is in the sysvinit-utils
package.
add a comment |
service --status-all
Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.
add a comment |
/etc/init.d contains scripts used by the System V init tools (SysVinit).
List executable:
ls -F /etc/init.d/ | grep '*$'
add a comment |
As said with systemd would be
systemctl --full --type service --all
From man page:
-l
,--full
Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.
-a
,--all
When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108591%2flist-of-available-services%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d
, so ls /etc/init.d
will list them. These files also contain a description of the service at the top, and the directory contains a README
.
Some but not all of them have a .sh
suffix, you should leave that off when using, eg., update-rc.d
.
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am runningsystemd
on mywheezy
system.
– jordanm
Jan 9 '14 at 20:21
add a comment |
Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d
, so ls /etc/init.d
will list them. These files also contain a description of the service at the top, and the directory contains a README
.
Some but not all of them have a .sh
suffix, you should leave that off when using, eg., update-rc.d
.
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am runningsystemd
on mywheezy
system.
– jordanm
Jan 9 '14 at 20:21
add a comment |
Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d
, so ls /etc/init.d
will list them. These files also contain a description of the service at the top, and the directory contains a README
.
Some but not all of them have a .sh
suffix, you should leave that off when using, eg., update-rc.d
.
Wheezy uses SysV init, and all the services are controlled with special shell scripts in /etc/init.d
, so ls /etc/init.d
will list them. These files also contain a description of the service at the top, and the directory contains a README
.
Some but not all of them have a .sh
suffix, you should leave that off when using, eg., update-rc.d
.
edited Jan 9 '14 at 18:02
answered Jan 9 '14 at 17:48
goldilocksgoldilocks
62.3k14152210
62.3k14152210
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am runningsystemd
on mywheezy
system.
– jordanm
Jan 9 '14 at 20:21
add a comment |
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am runningsystemd
on mywheezy
system.
– jordanm
Jan 9 '14 at 20:21
1
1
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
After reading your answer, I realized how stupid my question was. It was obvious. Anyway, at least I've learned something. Nevertheless thanks for answering my question.
– Dragos Rizescu
Jan 9 '14 at 17:54
6
6
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
@DragosRizescu there isn't stupid questions.
– Braiam
Jan 9 '14 at 18:00
2
2
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
@DragosRizescu - valid question, there has been a lot of activity in changing around how services work on the various distros so it can get confusing.
– slm♦
Jan 9 '14 at 18:02
I am running
systemd
on my wheezy
system.– jordanm
Jan 9 '14 at 20:21
I am running
systemd
on my wheezy
system.– jordanm
Jan 9 '14 at 20:21
add a comment |
On Debian jessie try: service --status-all
.
It is in the sysvinit-utils
package.
add a comment |
On Debian jessie try: service --status-all
.
It is in the sysvinit-utils
package.
add a comment |
On Debian jessie try: service --status-all
.
It is in the sysvinit-utils
package.
On Debian jessie try: service --status-all
.
It is in the sysvinit-utils
package.
answered Dec 29 '15 at 13:21
michael.kebemichael.kebe
71153
71153
add a comment |
add a comment |
service --status-all
Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.
add a comment |
service --status-all
Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.
add a comment |
service --status-all
Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.
service --status-all
Will list all services with a status code, being stopped or off (-), started or on (+), or unknown (?), which means no status code section in their init.d script. Not just running services.
edited Jul 18 '17 at 22:26
answered May 23 '17 at 4:10
cdecde
27528
27528
add a comment |
add a comment |
/etc/init.d contains scripts used by the System V init tools (SysVinit).
List executable:
ls -F /etc/init.d/ | grep '*$'
add a comment |
/etc/init.d contains scripts used by the System V init tools (SysVinit).
List executable:
ls -F /etc/init.d/ | grep '*$'
add a comment |
/etc/init.d contains scripts used by the System V init tools (SysVinit).
List executable:
ls -F /etc/init.d/ | grep '*$'
/etc/init.d contains scripts used by the System V init tools (SysVinit).
List executable:
ls -F /etc/init.d/ | grep '*$'
answered Nov 5 '18 at 9:08
CamelTMCamelTM
101
101
add a comment |
add a comment |
As said with systemd would be
systemctl --full --type service --all
From man page:
-l
,--full
Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.
-a
,--all
When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.
add a comment |
As said with systemd would be
systemctl --full --type service --all
From man page:
-l
,--full
Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.
-a
,--all
When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.
add a comment |
As said with systemd would be
systemctl --full --type service --all
From man page:
-l
,--full
Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.
-a
,--all
When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.
As said with systemd would be
systemctl --full --type service --all
From man page:
-l
,--full
Do not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.
-a
,--all
When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.
answered 25 mins ago
Pablo BianchiPablo Bianchi
507511
507511
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f108591%2flist-of-available-services%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
stackoverflow.com/questions/18721149/…
– Amit G
Apr 4 '16 at 7:09