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

Shotcut Review - A Powerful and Free Video Editor for Linux Users

Shotcut is a video editor that aims to offer a clear interface and a powerful set of tools. It's definitely not the application you would expect. It's far more complex than it lets on at first sight, and it has a steep learning curve. Read more

GDB 7.10 released

GDB 7.10 released! Release 7.10 of GDB, the GNU Debugger, is now available via anonymous FTP. GDB is a source-level debugger for Ada, C, C++, Objective-C, Pascal and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. Read more

Parsix GNU/Linux 8.0 Test 3 Out Now with GNOME 3.16.3 and Linux Kernel 4.1.6 LTS

The Parsix GNU/Linux Project has just announced the release and immediate availability for download and testing of the third development milestone towards the Parsix GNU/Linux 8.0 (Mumble) operating system. Read more

$15 Orange Pi PC hacker SBC packs 1.6GHz quad-core SoC

Shenzhen Xunlong tipped a $15 “Orange Pi PC” SBC with a 1.6GHz quad-core Cortex-A7 SoC, Pi-compatible expansion, HDMI, 100Mbit Ethernet, quad USB, and more. Late last year and early this year, Shenzhen Xunlong Software introduced a family of open-spec, Linux- and Android-ready “Orange Pi” single board computers. The first two, the $49 Orange Pi and $40 Orange Pi Mini, were built with the Allwinner A20 SoC, featuring a dual-core, 1GHz Cortex-A7 CPU and PowerVR SGX544MP2 GPU. They were soon followed by the $59 Orange Pi Plus, based on a new, low cost quad-core, 1.6GHz Cortex-A7 Allwinner H3 SoC, featuring a Mali-400 MP2 GPU. Read more