• 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

mons Command Examples in Linux

by Deepika

“mons” is a command-line tool used in Linux and Unix-like systems to manage multiple displays. The primary purpose of “mons” is to provide a quick and easy way to switch between different display configurations, such as a single display, dual displays, or a laptop display and an external monitor.

“mons” allows you to control the position and orientation of displays, as well as the resolution and refresh rate. You can use “mons” to create and save different display configurations, and then switch between them with a single command. This makes it easy to use your computer with different display setups, such as a large desktop display at work, and a smaller laptop display when on the go.

The “mons” command provides several options to control the display configuration, such as specifying the display resolution, orientation, and position. You can also use “mons” to turn off a display, or to display the current display configuration.

In general, “mons” is a useful tool for users who frequently switch between different display configurations, or for users who need to manage multiple displays with a minimum of hassle. By providing a simple, easy-to-use interface for managing displays, “mons” makes it easy to get the most out of your computer’s display setup.

mons Command Examples

1. Enable only the primary monitor:

# mons -o

2.Enable only the secondary monitor:

# mons -s

3.Duplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor:

# mons -d

4.Mirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor:

# mons -m

Filed Under: Linux

Some more articles you might also be interested in …

  1. flash Command Examples in Linux
  2. CentOS / RHEL : Managing password ageing for users using chage (with practical Examples)
  3. nmtui: command not found
  4. Shell Script to print pyramid of Stars
  5. finch: command not found
  6. How to Configure Interface bonding (NIC Teaming) on Oracle Linux 6
  7. CentOS / RHEL : Move a Physical Volume from an existing Volume Group to another Volume Group
  8. CentOS / RHEL 6,7 : How to use yum history to roll back a yum update
  9. How to Install Bless Hex Editor (Hexadecimal Editor) in Ubuntu
  10. How to effectively use Man Pages under Linux

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright