728x90 AdSpace

Monday, 4 September 2017

poweroff - Linux Command

poweroff

poweroff [options]
System administration command. Close out filesystems, shut down the system, and power off. Because this command immediately stops all processes, it should be run only in single-user mode. If the system is not in runlevel 0 or 6, poweroff calls shutdown -h, then performs a poweroff.

Options

-d
Suppress writing to /var/log/wtmp.

-f
Call reboot or halt and not shutdown, even when shutdown would normally be called. This option is used to force a hard halt or reboot.

-h
Place hard drives in standby mode before halt or poweroff.

-i
Shut down network interfaces before reboot.

-n
Suppress normal call to sync.

-w
Suppress normal execution; simply write to /var/log/wtmp.
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: poweroff - Linux Command Rating: 5 Reviewed By: Annamalai Thangaraj