Cisha phansi bese uqala kabusha usebenzisa imiyalo

Izikhathi eziningi sifuna ukwazi ukuthi siyicishe kanjani ikhompyutha, siyivule kabusha ... ngayinye emva kwesikhathi esithile noma ngesikhathi esiqondile, nayi indlela yokwenza lokhu kusuka ku-terminal:

Ukuvala i-PC:

kzkggaara @ geass: ~ $ sudo ukuvalwa -h manje
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha.

Ukucisha i-PC ngemuva kwesikhathi esithile:

kzkggaara @ geass: ~ $ sudo ukuvalwa -h + "isikhathi esifiselekayo"
Kumele ushintshe ""Isikhathi esifiselekayo"”Ukulinda inani noma inombolo yemizuzu ngaphambi kokuvala uhlelo.
Isibonelo: ukuvalwa kwe-sudo -h +10 // Uhlelo luzocisha imizuzu eyi-10 ngemuva kokufaka kulayini womyalo.
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha.

Ukucisha i-PC ngesikhathi esithile:

kzkggaara @ geass: ~ $ sudo ukuvalwa -h "isikhathi esifiselekayo"
Kumele ushintshe ""Isikhathi esifiselekayo"”Ngokuqondakalayo isikhathi abafuna uhlelo lucishe ngaso. Iwashi ngefomethi yamahora angama-24, okungukuthi; kusuka ku-0 kuye ku-23.
Isibonelo: ukuvalwa kwe-sudo -Ngo-22:30 // Uhlelo luzovalwa ngo-22: 30 ebusuku, okungukuthi; ngo-10: XNUMX ebusuku.
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha.

Ukuqala kabusha i-PC noma yikuphi okulandelayo:

kzkggaara @ geass: ~ $ sudo ukuvalwa -r Manje
kzkggaara @ geass: ~ $ sudo qala kabusha
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha. Futhi, noma yimiphi imigqa emibili edlule yenza okufanayo; qala kabusha i-PC.

Ukuqala kabusha i-PC ngemuva kwesikhathi esithile:

kzkggaara @ geass: ~ $ sudo ukuvalwa -r +"Isikhathi esifiselekayo"
Kumele ushintshe ""Isikhathi esifiselekayo" ”Ukulinda inani noma inani lemizuzu ngaphambi kokuqalisa kabusha uhlelo.
Isibonelo: ukuvalwa kwe-sudo -r +10 // Uhlelo luzoqala kabusha imizuzu eyi-10 ngemuva kokufaka kulayini womyalo.
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha.

I-athikili ehlobene:
I-Cron ne-crontab, kuchaziwe

Ukuqala kabusha i-PC ngesikhathi esithile:

kzkggaara @ geass: ~ $ sudo ukuvalwa -r "Isikhathi esifiselekayo"
Kumele ushintshe ""Isikhathi esifiselekayo"”Ngokusobala isikhathi abafuna uhlelo luqale ngalo kabusha. Iwashi ngefomethi yamahora angama-24, okungukuthi; kusuka ku-0 kuye ku-23.
Isibonelo: ukuvalwa kwe-sudo — IzAga 22:30 // Uhlelo luzoqala kabusha ngo-22: 30 ebusuku, okungukuthi; ngo-10: XNUMX ebusuku.
Nota: Kuyadingeka ukufaka iphasiwedi yethu yezimpande njengoba kudingeka izimvume zokuphatha.

Imiyalo eminingi ku: Funda ukukwenza ngaphandle kwemvelo yokuqhafaza


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-56, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   phumlani kusho

    Ngiyisebenzisa kuphela lapho ngidinga ukuqala kabusha umshini futhi angikwazi ukukwenza ngokuqhafaza

  2.   Freddy kusho

    Noma yimuphi umqondo wokubonisa umlayezo njalo kaningi?

    1.    KZKG ^ Gaara kusho

      Chaza kangcono ukuthi ufuna ukwenzani futhi ngikusiza ukukufeza 🙂

      1.    Freddy kusho

        Ake sithi:

        ukuvala shaqa -h 10 "ukuvala i-pc ku" #time

        umqondo wokuthi ukhombisa umlayezo ngaphakathi kwesiginali esifanayo kaningi ukuxwayisa ukuvala shaqa.

        1.    KZKG ^ Gaara kusho

          Ah, kulula kangaka.
          Siqale ukubeka ukulinda imizuzwana engama-60, ngemuva kokuthi leyo mizuzwana engama-60 isidlulile, sikhombise umyalezo ku-terminal othi "Shutting down" bese kuthi ngemuva kweminye imizuzwana engu-10, uqale inqubo yokuvala.
          Kungaba kanjena:
          sleep 60 && echo "Apagando" && sleep 10 && shutdown -n

          Uma ufuna ukukhombisa umlayezo kepha kuyisaziso sohlelo (i-Gnome noma i-KDE) kungaba ngomyalo wokukwazisa, ukuze lokhu kusebenze kufanele ube ufake i-libnotify-bin, futhi umugqa uzoba:
          sleep 60 && notify-send "Apagando" && sleep 10 && shutdown -n

          1.    Freddy kusho

            Ngiyabonga ngiyabonga, yilokho ebengikade ngikufuna kusukela kudala.

    2.    UFrancisco Martinez kusho

      Sawubona, ngicabanga ukuthi ulwazi engizokunikeza lona luzokusiza, uma ungabaza ungangiza;
      Ungasebenzisa ifayili (elitholakala ku- / etc /) / command «crontab» ukudala «umsebenzi ohleliwe» ngokufaka amanani: usuku lwenyanga, usuku lwesonto, olwenza ...
      Kuyasiza kakhulu kumaseva adinga ukuzimela okuthile ... Ngiyethemba kuyasiza 🙂

  3.   Kitty kusho

    Kuhle kakhulu, kepha futhi:
    init 0 (cisha i-pc)
    init 6 (qala kabusha i-pc)

    Zilula hehee,
    Ukubingelela!

    1.    KZKG ^ Gaara kusho

      Futhi ukuzibulala okuncane ngicabanga nokuthi haha, ngoba ukuya ngqo ku-runlevel 0 ngaphandle kokudlula kokunye, kulingana yini nokususa ikhebula lamandla, akunjalo?

      init 0 okwenzayo kunjalo? 🙂

      1.    Kitty kusho

        Hahaha yebo, ngicabanga ukuthi uma ngiphuthuma yilapho ngenza khona i-xD

        1.    Isibindi kusho

          Uzobona lapho ulayisha ikhompyutha yakho heh heh.

          Hhayi-ke uma kungenjalo, i-elav carcamal ikunikeza ngoba iyakuthanda.

          1.    Kitty kusho

            Hahaha, umubi kanjani ^^
            Ngeke ngiphinde. Lo prometo!
            Ukubingelela!

            1.    Isibindi kusho

              Kepha uma ngingowesifazane omuhle kakhulu xD


      2.    eVeR kusho

        Cha, akukhona ukuzibulala. Amaleveli 0 no-6 amisa zonke izinsizakalo, yehlisa amadrayivu ngaphambi kokuvala, ngakho-ke lokhu akufani nokukhipha ikhebula.
        Phendula ngokucaphuna

        1.    KZKG ^ Gaara kusho

          Bengicabanga ukuthi ama-runlevels amaphakathi akwenzile lokhu, kwase kuthi owokugcina owabulawa yiwo ovele wavala ukuxhumana ... woza, yacisha imishini. Ngokwalokho ebengikucabanga, ukuthi ukumane uye kule runlevel isistimu izocima ngaphandle kokukhipha konke, ungabeka isixhumanisi sokuthi ngifunde ngaso? 🙂

          Ngiyabonga 😀

          1.    eVeR kusho

            Angazi ukuthi iyaxhuma yini, kepha ngiyakumema ukuthi ubone okuqukethwe umkhombandlela we /etc/rc0.d kanye /etc/rc6.d (uma usebenzisa iDebian), bese uwaqhathanisa namanye amazinga.
            Kukhona konke ukuxhumana okunamandla kumasevisi aqala futhi ame lapho ushintsha usuka kwelinye izinga lokugijima uye kwelinye. Izixhumanisi eziqala ngohlamvu "S" ziqala idimoni, lezo eziqala ngo "K" ziyeke. Njengoba ukwazi ukubona, emazingeni 0 no-6, zonke izixhumanisi zamademoni ziqala ngo-K, okusho ukuthi lapho ushintshela kulawo mazinga amisa wonke amademoni, wehlise amasistimu efayela, bese umehluko phakathi kuka-0 no-6 uthi leyo ithumela isignali yokuqalisa phansi kanti enye isignali ye-poweroff
            Impela i- "man init" noma efanayo izokunikeza imininingwane ethe xaxa. Kule pc engiyibhalayo, angikwazi ukukukhombisa noma ngikutshele ukuthi ikhuluma kusiphi isigaba ngoba ngisebenzisa i-systemd, engena esikhundleni sakho konke okufakiwe kwincwajana yeSystemV, efana ne- init.
            Phendula ngokucaphuna

    2.    UJuventino kusho

      Ngikwenza ngale ndlela ...
      (Ngayifunda eminyakeni eyedlule ohlelweni lwe-SUN Microsystems
      qala ngemvume njenge "impande", bese uthayipha:

      "Vumelanisa", bese ngiyacindezela "enter"
      bese ngibhala:
      "Init 0" bese ngicindezela "enter" bese ngalokhu ngicisha umshini

      Ukuqala kabusha ngingena ngemvume ngokuthi "impande" bese uthayipha:
      "Vumelanisa", bese "faka"
      bese ngibhala:
      "Qalisa kabusha" bese ukhishwa ngicindezela u- "enter" bese ngalokhu ngiqala kabusha umshini

      Lokhu kuyangisebenzela ohlelweni lwe-Debian, ngiyethemba kuyakusiza.

      1.    Cristian kusho

        Ungayivula kanjani i-laptop yami ngekhibhodi engenantambo?

  4.   UGregorio Espadas kusho

    Ithiphu: Yenza ukuvala -h manje ilingana ne ukumisa (inzuzo: imfushane, ngaphandle kwemingcele futhi kulula ukuyikhumbula), ngokusho kwemibhalo esemthethweni (man halt).

    1.    eVeR kusho

      Umyalo wokumisa awusebenzi ngendlela efanayo uma usebenzisa iSystemD. Uma kunjalo, imisa yonke i-PC, kepha ayithumeli isinali le-ACPI ukuvala shaqa, ngakho-ke kuzofanele ucindezele inkinobho yamandla ngesandla. Ngakho-ke, umyalo onconyiwe wokushintsha i- "shutdown -h now" yi-poweroff.
      Phendula ngokucaphuna

      1.    umsebenzisi we-fedora kusho

        i-eVeR okushoyo ayifani nalokho, i-Halt isebenza ku-systemD, kufanele ungeze inketho yokuvala:
        #ma -p
        okuwukuphela kwento ebuyayo nge-Halt ukuthi idinga izimvume zempande kanye / noma i-sudo
        Ngisebenzisa uFedora, maqondana

  5.   Marco kusho

    Siyabonga ngolwazi. ilusizo kakhulu !!!

  6.   UMerlin The Debianite kusho

    Ngiyavuma ukuthi bengingazi ngokuqala kabusha ngesikhathi esithile kepha empeleni angiqondi ukuthi ukusetshenziswa kwayo bekuzoba yini okungenani esimweni sami ngivala umshini ngesikhathi esithile lapho ngiyeka ukulanda okuthile bese ngibala ukuthi uqeda nini futhi ngihlala ngiwunikeza amahora ayi-1 noma amabili ubude kunokuhlala kwawo download.

    Umnikelo omuhle.

  7.   Miguel kusho

    Kahle kahle, kufanele yenzele okuthile okuthile 🙂

    1.    e2391 kusho

      Kuwusizo kithina abasebenzisa ama-Window Managers. Ngale ndlela ungadala ukungena kwimenyu (uma unayo) ukuvala noma ukuqala kabusha i-PC.

      Ukuze leso Sudo singaceli iphasiwedi lapho ukuvalwa shaqa noma omunye umyalo okhethekile kwenziwa, umthetho ungakhiwa ku / etc / sudoers =)

      Ukubingelela!

  8.   I-Rayonant kusho

    Isebenziseka lapho ngifuna ukucisha ikhompyutha ngemuva kwesikhathi esithile, ngokulanda noma okufanayo, ngiyabonga ngokwabelana.

    1.    KZKG ^ Gaara kusho

      Ngiyabonga ngokuphawula kwakho

  9.   uJesu kusho

    Umbuzo owodwa, futhi ngenza kanjani ukuthi i-pc ivuleke ngesikhathi esithile?

    1.    eVeR kusho

      Awukwazi ukuyenza ivule kusuka ku-0, kepha ungayenza ibuye ngokulala. Yilokho i-BIOS eyenzelwe khona, noma futhi kwi-BIOS ehambisanayo kunethuluzi le-Linux. Uma unentshisekelo, ngizokunikeza isixhumanisi.
      Phendula ngokucaphuna

  10.   virgilius kusho

    Ungasebenzisa i-halt noma i-poweroff ukuvala phansi bese uqala kabusha ukuqala kabusha (azidingi amapharamitha) ngenzuzo yokuthi azidingi izimvume zokuphatha ngakho-ke, ngokwesibonelo, singabeka; cp largefile.mkv / media / device; amandla

    Ngaphandle kwalokho kufanele ubeke iphasiwedi futhi asikwazanga ukuyicisha ngemuva kokuhlinzwa ngaphandle kokuthi siyenze njengezimpande.

    1.    0N3R kusho

      Singangeza ipharamitha -f ukuphoqa ukucisha noma ukuqala kabusha cishe ngaso leso sikhathi, maqondana.

      1.    eVeR kusho

        Ukuphoqa ukuvalwa kwe-shutdown akukuhle, ngoba kusebenzisa umyalo wokunqamula ugesi ngaphandle kokumisa izinsiza noma ukwehlisa amadiski.Yingakho kushesha kangaka!
        Phendula ngokucaphuna

    2.    eVeR kusho

      ukumisa kanye ne-poweroff DO kudinga izimvume zokuphatha. Sebenzisa isikhombimsebenzisi sokuqhafaza kulula ngoba i-X isebenza njengezimpande, ngakho-ke ayibuzi ukuphakama

      1.    I-Alvarito050506 kusho

        Akunjalo, okungenani kuRaspbian (Debian 9 Jessie), ngiyagijima startx njengomsebenzisi ojwayelekile (pi).

  11.   jmvgabo kusho

    Umbuzo, uma ngidinga ukucisha ngesikhathi esithile usuku ngalunye, ngokwesibonelo ngo-22: 30 ntambama nsuku zonke zonyaka, kufanele ngikwenze kanjani ngivela ku-terminal? Ngibonga kakhulu.

    1.    KZKG ^ Gaara kusho

      Ukuze wenze lokhu, faka umugqa wokuvala noma umyalo ku-crontab: shutdown -r 22:30… Ngincoma ukuthi ufunde lokhu ukuze ufunde ukuthi ungayisebenzisa kanjani i-crontab: https://blog.desdelinux.net/chuleta-para-entender-mejor-el-crontab/

  12.   dennis kusho

    Sawubona, ngifisa ukwazi ukuthi ngingalucima kanjani uhlelo kumasekhondi ayi-8, ngoba uma lunginika, kepha ngemizuzu ngifuna ngemizuzwana

    1.    KZKG ^ Gaara kusho

      shutdown -t 8
      Impela, udinga ukusebenzisa lokhu njengezimpande noma usebenzisa iSudo

  13.   dennis kusho

    Sawubona, ngifisa ukwazi ukuthi ngingalucisha kanjani uhlelo kumasekhondi ayi-8 ngoba bengisebenzisa imiyalo ethile kepha luyivala ngemizuzu engifuna ukuyazi ngemizuzwana

  14.   dionny fernandez kusho

    Ngenza iskripthi ngisebenzisa le miyalo ukuze umshini wami ucime ngesikhathi esithile, konke kuhamba kahle kuze kufike iphuzu lokucela iphasiwedi, umbuzo wami uthi ungayifaka kanjani ikhodi engiyimpande yayo noma lapho ngifika ku-Sudo su put the key ngokuzenzakalela bese uyisebenzisa ???
    Ngiyabonga kusengaphambili ngezimpendulo zakho…

    1.    don juan kusho

      ungaba nomyalo wokuvala oqhutshwa ngumsebenzisi.
      isinyathelo ngesinyathelo
      cd / sbin
      chmod u + s ukuvala shaqa

      bese wenza isixhumanisi esingokomfanekiso ku- / usr / bin
      cd / usr / bin
      ln -s / sbin / ukuvala shaqa ukuvala shaqa
      futhi lo ngumbhalo ozosebenza ngaphandle kwesidingo sezimpande

  15.   don juan kusho

    ummm

  16.   I-ULTRON kusho

    Kuthiwani uma ngifuna ukuhlela ikhompyutha yami ukuthi ivule ngesikhathi esithile?
    ngendlela, ngiyabonga kade ngangilufuna lolu lwazi isikhathi eside, okungukuthi, cishe isigamu sehora eledlule ... isikhathi eside ... isikhathi eside.

  17.   I-ULTRON kusho

    Ungangisiza nawe? Ngimusha ku-linux futhi ngiqale ngobuntu kepha umsebenzi wami udinga ukuthi ngisebenzise i-Autocad ngingayisebenzisa kanjani i-Autocad kubuntu? Ingabe inguqulo ye-Autocad for Mac ingasebenza?

  18.   UCarlos Salas kusho

    Ngiyabonga !!! Bengidinga imininingwane yakho siyaxhumana kusuka noma ngabe ukuphi uma uyintombazane iMuuuuuuuuah futhi uma ungumfana khohlwa, heh heh.

  19.   Hector kusho

    Imininingwane ewusizo kakhulu!

  20.   gabriel.uy kusho

    Sawubona umbuzo owodwa. Yini umyalo ongivumela ukuthi ngithumele umyalezo kuwo wonke amakhompyutha axhunywe kwinethiwekhi ye-Wi-Fi nge-terminal ??? Ngikubonga kusengaphambili!

  21.   Eduardo kusho

    Sawubona, i-athikili enhle kakhulu… Umbuzo uthi: Ngingacisha kanjani zonke izinsuku ngasikhathi sinye kusobala kusuka ku-terminal… Ngiyabonga kusengaphambili

    1.    UJuan CP Quintana kusho

      Sawubona Eduardo! Ungayifaka kukhrononi ukuze igijime lapho uyidinga.

  22.   Martin kusho

    Kwikhompuyutha yami ephathekayo nginezingxenye ezi-2, kweyokuqala ngine-Windows 10 efakiwe, kwesibili ngine-Debian 8.3 Jessie efakiwe. Lapho ngingene ngemvume ku-Debian bese ngifuna ukuyicisha ngenkinobho yokuvala noma nge-console, akuvamile ukuthi ivalwe, isikhathi esiningi ayivali uhlelo, kunalokho, ivuselela futhi ingibonise isikrini sasekhaya se-grub uhlelo lokusebenza engifuna ukuqala ngalo. Angazi ukuthi kungani lokhu. Uma kukhona ongangisiza, ngingakuthokozela. Ngimusha kuDebian. Jabulela ..

  23.   amakholwa kusho

    Ngabe ukhona ongangisiza. Kwikhompuyutha yami ephathekayo nginezingxenye ezi-2, kweyokuqala ngine-Windows 10 efakiwe, kwesibili ngine-Debian 8.3 Jessie efakiwe. Lapho ngingene ngemvume ku-Debian bese ngifuna ukuyicisha ngenkinobho yokuvala noma nge-console, kwesinye isikhathi iyacisha, isikhathi esiningi uhlelo aluvali, kunalokho, luqala kabusha futhi lungibonise isikrini sasekhaya se-grub ukukhetha uhlelo lokusebenza engifuna ukuluqala. Angazi ukuthi kungani lokhu. Uma kukhona ongangisiza, ngingakuthokozela. Ngimusha kuDebian. Jabulela ..

  24.   isalvador kusho

    Sawubona ngidinga usizo, uma ngifuna ukwenza imenyu ngezinketho ezimbili ukuvala shaqa nokuqalisa kabusha, kepha okungenani okokuqala ngqa lapho ngisebenzisa iskripthi uma ngisinika ukuvala shaqa, kufanele ingithumele umbuzo futhi, iphoqe ukuqala kabusha uhlelo, okungenani okokuqala, ngemuva kwalokhu uphinde uyivule bese usebenzisa iskripthi kepha kulokhu kusebenza njengokujwayelekile, okungukuthi, uma ngiyicisha, ngiyicime bese ngiqala kabusha ukuqala kabusha, ngingakwenza kanjani, ukuthi umshini uyakhumbula ukuthi sengivele ngikuphoqa ukuqala kabusha okungenani kanye .

  25.   Diego kusho

    Ungawakha kanjani umbhalo osebenzisa ukuvala shaqa okulungile lapho ulahlekelwa yizimpande ezi-5 zilandelana, futhi kusukela lapho ukuvalwa kunokubambezeleka kwemizuzu engu-5, kepha phakathi naleso sikhathi qhubeka ubambe, futhi uma unempendulo, khansela ukuvala futhi qhubeka nayo yonke into ejwayelekile, futhi uma iqhubeka ngaphandle kwempendulo, cisha ngaleso sikhathi esiphezulu.
    Kungenxa yokuthi ngine-router engasetshenziswanga exhunywe kumanje ojwayelekile, futhi lapho isibani sicisha iyacima futhi lapho ilahlekelwa yi-ping, …… futhi i-pc ine-UPS / UPS futhi angifuni ukuthi icime lapho ibhethri liphela. (ngakho-ke ayilandi ngokuphelele)

  26.   M @ rko kusho

    Sawubona okuhle, ngisha ngisebenzisa i-Linux futhi ngine-Windows 10 ne-Linux deepin 15.3 kukhompuyutha yami ephathekayo futhi ngithanda ukuhlela amandla ngesikhathi esithile, ngiyabonga

  27.   Umshayi wesigubhu ~ kusho

    Ngisebenzisa uFedora. I-poweroff eyanele nje ukuvala bese uqala kabusha ukuqala kabusha. Akukho ukuphakama okudingekayo ukuze kusebenze.

  28.   idlozi49 kusho

    Ngiyixazulula kanjani inkinga yokuvala shaqa, okwenzekayo ukuthi lapho ngisebenzisa noma imuphi umyalo wokuvala noma ukuqala kabusha umshini wami kubonakala sengathi kucisha yonke into kodwa amadiski, iprosesa iyaqhubeka nokusebenza ngakho anginayo enye indlela ngaphandle kokucindezela inkinobho yamandla ize ivalwe phansi futhi lokho akubonakali kunempilo eqenjini lami, ngibonga kusengaphambili.
    P.S.
    Ngiku-Debian 9 / Genom futhi ngisebenzisa i-HP AMD A9 / Radeon R5 Grafics