What init 1 command exactly does?
Well to be honest I love finding Loopholes in everything, I was watching a TV Serial Mr Robot and at some point a character mentioned init 1
command, that her computer started crashing again and again and she lost her mind after using that command. I am studying OS and I'm a beginner, I tried googling it and I've also checked many forums to get to know what this command actually does is.
All I know is Linux have 0-6 run levels and init 1
is one of them, someone also mentioned that it freezes the computer, but I've not found the exact answer to my question that what this command actually does and how it works? And should I try it on my Computer?
14.04 command-line init runlevel
|
show 2 more comments
Well to be honest I love finding Loopholes in everything, I was watching a TV Serial Mr Robot and at some point a character mentioned init 1
command, that her computer started crashing again and again and she lost her mind after using that command. I am studying OS and I'm a beginner, I tried googling it and I've also checked many forums to get to know what this command actually does is.
All I know is Linux have 0-6 run levels and init 1
is one of them, someone also mentioned that it freezes the computer, but I've not found the exact answer to my question that what this command actually does and how it works? And should I try it on my Computer?
14.04 command-line init runlevel
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06
|
show 2 more comments
Well to be honest I love finding Loopholes in everything, I was watching a TV Serial Mr Robot and at some point a character mentioned init 1
command, that her computer started crashing again and again and she lost her mind after using that command. I am studying OS and I'm a beginner, I tried googling it and I've also checked many forums to get to know what this command actually does is.
All I know is Linux have 0-6 run levels and init 1
is one of them, someone also mentioned that it freezes the computer, but I've not found the exact answer to my question that what this command actually does and how it works? And should I try it on my Computer?
14.04 command-line init runlevel
Well to be honest I love finding Loopholes in everything, I was watching a TV Serial Mr Robot and at some point a character mentioned init 1
command, that her computer started crashing again and again and she lost her mind after using that command. I am studying OS and I'm a beginner, I tried googling it and I've also checked many forums to get to know what this command actually does is.
All I know is Linux have 0-6 run levels and init 1
is one of them, someone also mentioned that it freezes the computer, but I've not found the exact answer to my question that what this command actually does and how it works? And should I try it on my Computer?
14.04 command-line init runlevel
14.04 command-line init runlevel
asked Apr 1 '17 at 12:53
WeabooWeaboo
1621212
1621212
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06
|
show 2 more comments
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06
|
show 2 more comments
2 Answers
2
active
oldest
votes
ID Name Description
0 Halt Shuts down the system.
1 Single-user mode Mode for administrative tasks.
2 Multi-user mode Does not configure network interfaces and does not export networks services.
3 Multi-user mode with networking Starts the system normally.
4 Not used/user-definable For special purposes.
5 Start the system normally with Same as runlevel 3 + display manager.
appropriate display manager (with GUI)
6 Reboot Reboots the system.
As you can see from the above each runlevel has what commands and programs run when started by user or any other process, as in the case of runlevel 1. Here only a single user can access the system and the commands here are barest at minimum, hence the comment that it freezes the system. Most commands you know in the 3-5
runlevel are not available here.
If you try entering this level from your current runlevel, you will see that a lot of things will not work and you most likely lose data in any open files or programs. Best tried on a virtual machine to see what it does.
Basically in Linux every runlevel is associated with certain programs or programs are associated with various runlevels. So entering that level with init 1
will kill all programs that are not designed or meant to be in that runlevel, hence the computer freeze mentioned by you.
Source: https://en.wikipedia.org/wiki/Runlevel
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels2 & 4
and why there are not used
– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
|
show 1 more comment
I am not a Linux programmer nor am I a hacker but I too have been watching Mr. Robot and came here for answer.
The line in the TV show was:
Darlene: "My computer kept crashing, and you (Elliot) told me to try init1"
Now I am a c++ programmer and electrical engineer so I checked online and got my answers here. Very simply it was because Darlene was using a higher runlevel and her computer would crash consistently being the cause of her frustrations. Elliot suggested to run the single user mode thus eliminating the networking and other users and allowing her to debug the program.
init1 became their codeword whenever she needed help.
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f899157%2fwhat-init-1-command-exactly-does%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
ID Name Description
0 Halt Shuts down the system.
1 Single-user mode Mode for administrative tasks.
2 Multi-user mode Does not configure network interfaces and does not export networks services.
3 Multi-user mode with networking Starts the system normally.
4 Not used/user-definable For special purposes.
5 Start the system normally with Same as runlevel 3 + display manager.
appropriate display manager (with GUI)
6 Reboot Reboots the system.
As you can see from the above each runlevel has what commands and programs run when started by user or any other process, as in the case of runlevel 1. Here only a single user can access the system and the commands here are barest at minimum, hence the comment that it freezes the system. Most commands you know in the 3-5
runlevel are not available here.
If you try entering this level from your current runlevel, you will see that a lot of things will not work and you most likely lose data in any open files or programs. Best tried on a virtual machine to see what it does.
Basically in Linux every runlevel is associated with certain programs or programs are associated with various runlevels. So entering that level with init 1
will kill all programs that are not designed or meant to be in that runlevel, hence the computer freeze mentioned by you.
Source: https://en.wikipedia.org/wiki/Runlevel
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels2 & 4
and why there are not used
– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
|
show 1 more comment
ID Name Description
0 Halt Shuts down the system.
1 Single-user mode Mode for administrative tasks.
2 Multi-user mode Does not configure network interfaces and does not export networks services.
3 Multi-user mode with networking Starts the system normally.
4 Not used/user-definable For special purposes.
5 Start the system normally with Same as runlevel 3 + display manager.
appropriate display manager (with GUI)
6 Reboot Reboots the system.
As you can see from the above each runlevel has what commands and programs run when started by user or any other process, as in the case of runlevel 1. Here only a single user can access the system and the commands here are barest at minimum, hence the comment that it freezes the system. Most commands you know in the 3-5
runlevel are not available here.
If you try entering this level from your current runlevel, you will see that a lot of things will not work and you most likely lose data in any open files or programs. Best tried on a virtual machine to see what it does.
Basically in Linux every runlevel is associated with certain programs or programs are associated with various runlevels. So entering that level with init 1
will kill all programs that are not designed or meant to be in that runlevel, hence the computer freeze mentioned by you.
Source: https://en.wikipedia.org/wiki/Runlevel
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels2 & 4
and why there are not used
– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
|
show 1 more comment
ID Name Description
0 Halt Shuts down the system.
1 Single-user mode Mode for administrative tasks.
2 Multi-user mode Does not configure network interfaces and does not export networks services.
3 Multi-user mode with networking Starts the system normally.
4 Not used/user-definable For special purposes.
5 Start the system normally with Same as runlevel 3 + display manager.
appropriate display manager (with GUI)
6 Reboot Reboots the system.
As you can see from the above each runlevel has what commands and programs run when started by user or any other process, as in the case of runlevel 1. Here only a single user can access the system and the commands here are barest at minimum, hence the comment that it freezes the system. Most commands you know in the 3-5
runlevel are not available here.
If you try entering this level from your current runlevel, you will see that a lot of things will not work and you most likely lose data in any open files or programs. Best tried on a virtual machine to see what it does.
Basically in Linux every runlevel is associated with certain programs or programs are associated with various runlevels. So entering that level with init 1
will kill all programs that are not designed or meant to be in that runlevel, hence the computer freeze mentioned by you.
Source: https://en.wikipedia.org/wiki/Runlevel
ID Name Description
0 Halt Shuts down the system.
1 Single-user mode Mode for administrative tasks.
2 Multi-user mode Does not configure network interfaces and does not export networks services.
3 Multi-user mode with networking Starts the system normally.
4 Not used/user-definable For special purposes.
5 Start the system normally with Same as runlevel 3 + display manager.
appropriate display manager (with GUI)
6 Reboot Reboots the system.
As you can see from the above each runlevel has what commands and programs run when started by user or any other process, as in the case of runlevel 1. Here only a single user can access the system and the commands here are barest at minimum, hence the comment that it freezes the system. Most commands you know in the 3-5
runlevel are not available here.
If you try entering this level from your current runlevel, you will see that a lot of things will not work and you most likely lose data in any open files or programs. Best tried on a virtual machine to see what it does.
Basically in Linux every runlevel is associated with certain programs or programs are associated with various runlevels. So entering that level with init 1
will kill all programs that are not designed or meant to be in that runlevel, hence the computer freeze mentioned by you.
Source: https://en.wikipedia.org/wiki/Runlevel
edited Apr 1 '17 at 13:25
answered Apr 1 '17 at 13:07
George UdosenGeorge Udosen
21.4k94570
21.4k94570
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels2 & 4
and why there are not used
– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
|
show 1 more comment
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels2 & 4
and why there are not used
– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
Well I know, I'm going of topic a bit but can you tell me why we don't use 2,4 run levels? And is it fine if I try the init 1 command on my computer?
– Weaboo
Apr 1 '17 at 13:11
@Weaboo i have added an update version of the runlevels, please see levels
2 & 4
and why there are not used– George Udosen
Apr 1 '17 at 13:18
@Weaboo i have added an update version of the runlevels, please see levels
2 & 4
and why there are not used– George Udosen
Apr 1 '17 at 13:18
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
George I've another question, why you guys don't upvote questions here on @askUbuntu, I mean on stackoverflow we upvote almost all well defined questions :')
– Weaboo
Apr 1 '17 at 13:22
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
@Weaboo we do upvote good questions. It just has to be good to get upvoted.
– George Udosen
Apr 1 '17 at 13:24
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
I'm not sure where you got those definitions, but on Ubuntu, runlevels 2-5 are all identical.
– psusi
Apr 1 '17 at 15:49
|
show 1 more comment
I am not a Linux programmer nor am I a hacker but I too have been watching Mr. Robot and came here for answer.
The line in the TV show was:
Darlene: "My computer kept crashing, and you (Elliot) told me to try init1"
Now I am a c++ programmer and electrical engineer so I checked online and got my answers here. Very simply it was because Darlene was using a higher runlevel and her computer would crash consistently being the cause of her frustrations. Elliot suggested to run the single user mode thus eliminating the networking and other users and allowing her to debug the program.
init1 became their codeword whenever she needed help.
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
add a comment |
I am not a Linux programmer nor am I a hacker but I too have been watching Mr. Robot and came here for answer.
The line in the TV show was:
Darlene: "My computer kept crashing, and you (Elliot) told me to try init1"
Now I am a c++ programmer and electrical engineer so I checked online and got my answers here. Very simply it was because Darlene was using a higher runlevel and her computer would crash consistently being the cause of her frustrations. Elliot suggested to run the single user mode thus eliminating the networking and other users and allowing her to debug the program.
init1 became their codeword whenever she needed help.
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
add a comment |
I am not a Linux programmer nor am I a hacker but I too have been watching Mr. Robot and came here for answer.
The line in the TV show was:
Darlene: "My computer kept crashing, and you (Elliot) told me to try init1"
Now I am a c++ programmer and electrical engineer so I checked online and got my answers here. Very simply it was because Darlene was using a higher runlevel and her computer would crash consistently being the cause of her frustrations. Elliot suggested to run the single user mode thus eliminating the networking and other users and allowing her to debug the program.
init1 became their codeword whenever she needed help.
I am not a Linux programmer nor am I a hacker but I too have been watching Mr. Robot and came here for answer.
The line in the TV show was:
Darlene: "My computer kept crashing, and you (Elliot) told me to try init1"
Now I am a c++ programmer and electrical engineer so I checked online and got my answers here. Very simply it was because Darlene was using a higher runlevel and her computer would crash consistently being the cause of her frustrations. Elliot suggested to run the single user mode thus eliminating the networking and other users and allowing her to debug the program.
init1 became their codeword whenever she needed help.
answered Jan 31 at 13:18
Joe RJoe R
111
111
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
add a comment |
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
You are pretty much accurate and to add to your answer when you hit any init command system will go into that particular run level. So if you run init1 from the higher run level which by default any system boots in is init3 or init5 in case of GUI it will close everything that needs the multi-user support.
– Hrish
Jan 31 at 16:39
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also refer man page for runlevels as we are discussin init1, here is the init1 man page link man7.org/linux/man-pages/man1/stg-init.1.html
– Hrish
Jan 31 at 16:40
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
also, refer to below article which explains every run level in brief and what it does or what's the purpose of it. linuxonfire.wordpress.com/2012/10/19/…
– Hrish
Jan 31 at 16:41
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f899157%2fwhat-init-1-command-exactly-does%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
The question aught to be what do each of the run levels have to offer then you will know what happens when you launch any of them
– George Udosen
Apr 1 '17 at 12:56
Save your work first. Close unnecessary applications. Then try it and see what happens.
– user535733
Apr 1 '17 at 13:03
init 1 is a Mode for administrative tasks. But the thing that keeps poking me is, how it makes a computer crash? I mean okay, it's admin mode, will you do anything but is that simple to crash a Linux server or Computer? @George
– Weaboo
Apr 1 '17 at 13:04
It's simple to crash ANY computer with the proper instructions. The hard part is getting the computer to obey your intent without error.
– user535733
Apr 1 '17 at 13:05
@user535733 I've some important data stored in my computer, I really wanna try this at home, but do I've to transfer that data as well, I mean is it real? Am I going to lose all my data? Or just the current files that are open while running this command?
– Weaboo
Apr 1 '17 at 13:06