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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. dd: command not found
  2. “aws sts” Command Examples
  3. mailstat Command Examples in Linux
  4. How to disable SSH host key checking in Linux
  5. ack – A search tool like grep, optimized for developers (Command Examples)
  6. engrampa: command not found
  7. grep Command Examples in Linux (Cheat Sheet)
  8. vgchange Command Examples in Linux
  9. autojump: Quickly jump among the directories you visit the most
  10. dolt branch: Manage Dolt branches

You May Also Like

Primary Sidebar

Recent Posts

  • “glab pipeline” Command Examples
  • “glab mr” Command Examples
  • “glab mr merge” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright