Language Selection

English French German Italian Portuguese Spanish

Determine the virtual terminal you are using in GNU/Linux

Filed under
HowTos

Have you ever had to determine the virtual terminal that an X session is running on? Perhaps you may want this information for a program you have created. It is possible using the fgconsole command.

Just running fgconsole will print the number of the active virtual terminal. For the uninitiated, by default, you have 7 virtual terminals on your Linux machine.

More Here




More in Tux Machines

Wine 2.7 Has Been Released

Canonical Releases Snapd 2.25 Snappy Daemon for Ubuntu Linux, Here Is What's New

Canonical's Snappy team, through Michael Vogt, announced today, April 28, 2017, the release and immediate availability of the Snapd 2.25 Snappy daemon for all supported Ubuntu Linux OSes, as well as other GNU/Linux distributions. Read more

Ubuntu Devs Work on Rebasing Ubuntu 17.10 (Artful Aardvark) to Linux Kernel 4.11

It looks like the Ubuntu Kernel team is back at work after taking a short break, and they recently published another installation of their bi-weekly newsletter to inform the Ubuntu Linux community about what to expect in the coming weeks. Read more

Linux Mint-using terror nerd awaits sentence for training Islamic State

A paranoid Welsh Muslim who wore gloves while typing on his laptop, admitted being part of Islamic State, and, gasp, harbored a copy of Linux Mint, has been described as a “new and dangerous breed of terrorist.” Samata Ullah, 34, who also used voice modulation software to disguise his thick Welsh accent while making instructional videos about encryption, pleaded guilty to five terrorism charges at Cardiff Crown Court. He was due to be sentenced Friday afternoon. Read more