1.Make QR code from cmd and read it from cmd 2. How to use mouse in Black screen 3.Show the time of the cmd process

Tanmayrane
3 min readJul 16, 2023

--

Make QR code from command and read it from community

Qrencode is a command-line tool and library used for generating QR codes. QR codes, or Quick Response codes, are two-dimensional barcodes that can be scanned using a smartphone or QR code reader. They are commonly used to encode various types of information, such as URLs, contact information, text messages, or Wi-Fi network details.

Install the qrencode utility by running the following command as the root user or using

Use the cmd curl quenco.de / www.facebook.com

How to use mouse in Black screen

A programme called GPM (General Purpose Mouse) enables the use of a mouse in the text console of operating systems that resemble Unix, including Linux. By recording mouse events and converting them into corresponding console actions, it offers mouse support.

The mouse input is typically lost when using chvt (change virtual terminal) to switch between various virtual terminals in the console. However, even after switching virtual terminals, you can still use the mouse by running the gpm daemon.

On many Linux distributions, you can use the package manager to install gpm.

yum install gpm

Start the service gpm

Show the time of the cmd process

The time command in RHEL 9 (Red Hat Enterprise Linux 9) can be used to track how long a command or script takes to execute. The time command is a built-in command of the shell, which means it is a component of the shell itself rather than being an independent executable.

Use The TIME before any cmd to see the time how much taken

--

--