noraj (Alexandre ZANNI) - Cybersecurity engineer & Pentester

0

How to know the graphic controller under Linux

To know your 3D graphic(s) controller(s) working (GPU or/and chipset) with your VGA output you can run the following command : /sbin/lspci | egrep 'VGA|3D' Example : /sbin/lspci | egrep 'V

0

Know status and health battery in command-line

To see your battery infos you can use acpi if you have it or directly see system files. Upower command# In both case you can use upower command to get some usefull infos: upower -i /org/freedesktop/UP

0

DISPLAYMANAGER and WINDOWSMANAGER

Change of Display Manager# Pass root sudo -i Then open /etc/sysconfig/displaymanager with a text editor. vim /etc/sysconfig/displaymanager Display Manager can be changed at line DISPLAYMANAGER="X

0

Variables type size and formaters in C

Variables# Type Size Min Max signed char 8 bits -128 +127 unsigned char 8 bits 0 +255 short 16 bits -32,768 +32,767 unsigned short 16 bits 0 +65,535 int 16 bits -32,768 +32,767 unsign