NEW: https://github.com/neolao/documentation/blob/master/linux.md
file -bi mon-fichier.txt
iconv -f ISO_8859-1 -t UTF8 mon-fichier.txt > mon-nouveau-fichier.txt
passwd toto
sudo upgrade-from-grub-legacy
apt-get install dkms linux-source
hostname
hostname newName
loadkeys fr
apt-get install console-tools
dpkg-reconfigure console-data
apt-get install locales
dpkg-reconfigure locales
tune2fs -l /dev/hda1
tune2fs -c 0 -i 0 /dev/hda1
bind -P
vim /etc/console-tools/config
find -type l
ifconfig -a | grep 'inet addr:' | cut -f2 -d: | awk '{print "IP : " $1}'
ifconfig eth1 192.168.56.101
dpkg-reconfigure tzdata
sudo apt-get install ntp ntpdate
sudo /usr/sbin/ntpdate fr.pool.ntp.org
tzselect
sudo apt-get install aptitude tasksel
sudo tasksel install gnome-desktop --new-install
update-usbids
lsusb
Faire une recherche Google sur http://wiki.debian.org/ pour trouver ce qu’il faut installer.
sudo apt-get install wireless-tools firmware-ralink firmware-realtek firmware-iwlwifi
ifconfig wlan0 up
iwlist wlan0 scan
Configurer l’auto connexion
vim /etc/network/interfaces
Ajouter :
auto wlan0
iface wlan0 inet dhcp
wpa-ssid monreseau
wpa-psk monmotdepasse
Relancer le réseau :
service networking restart
chsh -s /bin/bash
chsh -s /usr/local/bin/fish
deborphan
fallocate -l 10G plop
sudo xset -display :0 s off -dpms
sudo xset -display :0 s on +dpms
sudo mkdir -p /ram
sudo mount -t tmpfs -o size=100m tmpfs /ram
Éditer /etc/default/locale
:
LANGUAGE=en_US.UTF-8
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
lsb_release -d