• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lshal Command Examples in Linux

by admin

The lshal command lists all devices the hardware abstraction layer (HAL) knows about, which should be most hardware on your system.

lshal Command OPtions

Option Description
-m, –monitor Print changes emitted by the hald daemon.
-s, –short Short output.
-t, –tree Display the devices organized in a tree.
-u, –show Show only the given UDI (Unique Device Identifier).
-h, –help Print out usage.
-V, –version Print the version.

lshal Command Examples

1. To list HAL devices:

# lshal 

2. To print changes emitted by the hald daemon:

# lshal -m
# lshal --monitor 

3. To get the short output:

# lshal -s
# lshal --short 

4. To display the devices organized in a tree:

# lshal -t
# lshal --tree 

5. To show only the given UDI:

# lshal -u
# lshal --show 

6. To print out usage:

# lshal -h
# lshal --help 

7. To print the version:

# lshal -V
# lshal --version 

Filed Under: Linux

Some more articles you might also be interested in …

  1. env Command Examples in Linux
  2. CentOS / RHEL : How to delete LUKS encrypted device
  3. killall Command Examples in Linux
  4. How to Change Default Permission of /var/log/messages in CentOS/RHEL
  5. lpq: command not found
  6. sudo: command not found
  7. conky: command not found
  8. pdbedit: command not found
  9. How to configure VNC Server on CentOS/RHEL 6
  10. brctl: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright