System shutdown in Linux in Hindi

Linux mein system ko shutdown karne ke liye aap “shutdown” command ka use karte hain. Shutdown process ko control karne ke liye aapko kuch options provide karne hote hain. Yahan, main aapko kuch common options ke sath shutdown command ka istemal kaise karna hai, uska step-by-step guide deta hoon:

System shutdown in Linux in Hindi

Syntax:

shutdown [OPTIONS] [TIME] [MESSAGE]
  • OPTIONS: Shutdown ke liye various options hote hain jinme se kuch niche diye gaye hain:
  • -h or --halt: System ko halt (power off) karega.
  • -r or --reboot: System ko reboot (restart) karega.
  • -c or --cancel: Scheduled shutdown ko cancel karne ke liye.
  • -k: Shutdown ke liye message broadcast karega, lekin system ko shutdown nahi karega (dry-run mode).
  • TIME: Aap specify kar sakte hain ki system ko kab shutdown karna hai. Isme aap kuch different formats use kar sakte hain, jaise ki:
  • now: Abhi shutdown karna.
  • +m or hh:mm: Minitues ya specific time (hh:mm) mein shutdown karna.
  • hh:mm: Specific time (hh:mm) ko indicate karta hai.
  • MESSAGE: Agar aap chahate hain, toh aap ek shutdown message bhi specify kar sakte hain, jise dusre users dekh sakte hain.

Examples:

  1. System ko abhi shutdown karna (power off):
   shutdown -h now
  1. System ko 10 minutes mein shutdown karna (power off):
   shutdown -h +10
  1. System ko 3:30 PM par shutdown karna (power off):
   shutdown -h 15:30
  1. Shutdown message ke sath system ko reboot karna:
   shutdown -r now "System will reboot for updates."

Jab aap shutdown command ko run karenge, system ko scheduled time par shutdown ya reboot kiya jayega. Shutdown process shuru hone par aapke samne aik countdown timer bhi dikhaya jayega, taki aapko shutdown ka notification mile. Shutdown process complete hone ke baad, aapka system band ho jayega.

Leave a Comment