{"id":787,"date":"2023-11-20T22:38:21","date_gmt":"2023-11-21T03:38:21","guid":{"rendered":"https:\/\/80bits.blog\/?p=787"},"modified":"2023-11-20T23:07:40","modified_gmt":"2023-11-21T04:07:40","slug":"linux-como-saber-que-sistema-de-inicio-estamos-usando","status":"publish","type":"post","link":"https:\/\/80bits.blog\/index.php\/2023\/11\/20\/linux-como-saber-que-sistema-de-inicio-estamos-usando\/","title":{"rendered":"Linux &#8211; Como saber qu\u00e9 sistema de inicio estamos usando"},"content":{"rendered":"\n<p>Para determinar si tu sistema est\u00e1 utilizando <code>systemd<\/code> o SysV init o alg\u00fan otro sistema de inicio, puedes utilizar estos m\u00e9todos mediante la consola.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"comprobando-el-pid-1\">Comprobando el PID 1<\/h2>\n\n\n\n<p>El primer proceso que se inicia en un sistema Linux, con el PID 1, es el sistema de inicio. Puedes verificar cu\u00e1l es utilizando el siguiente comando:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps -p 1\n<\/code><\/pre>\n\n\n\n<p>Si el resultado obtenido es algo similar a esto:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PID TTY          TIME CMD\n1 ?        00:02:16 systemd\n<\/code><\/pre>\n\n\n\n<p>Entonces el sistema que estas usando es <code>systemd<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"analizando-las-propiedades-del-archivo-init\">Analizando las propiedades del archivo init<\/h2>\n\n\n\n<p>Podemos saber a donde apunta el enlace simb\u00f3lico del siguiente archivo:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>file \/sbin\/init\n<\/code><\/pre>\n\n\n\n<p>Si el resultado es:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/sbin\/init: symbolic link to \/lib\/systemd\/systemd\n<\/code><\/pre>\n\n\n\n<p>De igual manera estas usando <code>systemd<\/code>.<\/p>\n\n\n\n<p>Dependiendo del gestor de inicio podr\u00eda salir otro nombre, pero los pasos deber\u00edan funcionar tal como est\u00e1n aqu\u00ed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Para determinar si tu sistema est\u00e1 utilizando systemd o SysV init o alg\u00fan otro sistema de inicio, puedes utilizar estos m\u00e9todos mediante la consola. Comprobando el PID 1 El primer proceso que se inicia en un sistema Linux, con el PID 1, es el sistema de inicio. Puedes verificar cu\u00e1l es utilizando el siguiente comando: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[66,65],"tags":[92,52,90,73,89],"class_list":["post-787","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-sistemas-operativos","tag-commands","tag-consola","tag-init","tag-linux","tag-systemd"],"jetpack_featured_media_url":"https:\/\/80bits.blog\/wp-content\/uploads\/2022\/12\/pexels-photo-5935788.jpeg","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/posts\/787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/comments?post=787"}],"version-history":[{"count":5,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/posts\/787\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/posts\/787\/revisions\/792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/media\/369"}],"wp:attachment":[{"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/media?parent=787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/categories?post=787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/80bits.blog\/index.php\/wp-json\/wp\/v2\/tags?post=787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}