首页
首页 » 其它 » fgconsole

fgconsole


fgconsole

fgconsole

Print the number of the current virtual console. For example, if you are using /dev/tty1, the command would return 1.