The Wayback Machine - https://web.archive.org/web/20230512155044/https://www.geeksforgeeks.org/acpi_available-command-in-linux-with-examples/
Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

acpi_available command in Linux with examples

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

acpi_available is a command in Linux which test whether ACPI (Advanced Configuration and Power Interface) subsystem is available or not. It has three return statuses:

  • 0 : It means ACPI subsystem is available.
  • 1 : It means ACPI subsystem is not available.
  • 2 : It means some usage error has occurred.

Syntax:

$ acpi_available

Example 1: Here, echo $? is a command which is used to see the last return status. Example 2: Here, we create a false error and then displayed return status. Options: 

  • info acpi_available : It displays help information. Example:
My Personal Notes arrow_drop_up
Last Updated : 07 Jun, 2022
Like Article
Save Article
Similar Reads
Related Tutorials