Archive: 2014

0

Install Oh-my-zsh on openSUSE

Install zsh zypper in zsh and git zypper in git. Then install oh-my-zsh wget --no-check-certificate http://install.ohmyz.sh -O - | sh. Then define zsh as your default shell: chsh -s /bin/zsh.

0

Learn Linux: Help

What is the man? Let's see what it says itself: $ man -f man man (1) - an interface to the on-line reference manuals man (7) - macros to format man pages man (1p)

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