Comandi che quando servono non trovi mai..
sviluppo/linux September 26th, 2007
cambiare l’editor di defaults
update-alternatives –config editor
Genera le chiavi ssh
ssh-keygen -t dsa
http://matrixhasu.altervista.org/index.php?view=tips&cat=linux&tip=tips_linux__limitare_diventare_root
cicli in bashcon for
for i in `echo 06 07 08 09 10` ;do echo “<option value=”$i:00″>$i</option>”; done
compilarsi un pacchetto sorgente con apt-get
apt-get source –compile libc6
Comando per modificare i flag dei pacchetti
dpkg –set-selections < fileconflag
dpkg -l | grep ^hi >> lista pacchetti HOLD
Rimuove i pacchetti che deborphaner restituisce
apt-get –purge remove `deborphan`
lp -o number-up=2 -o media=A4 -o landscape -o colormodel=gray
./NVIDIA-Linux-x86-1.0-8762-pkg1.run -a –x-prefix=/usr/lib/xorg –x-module-path=/usr/lib/xorg/modules
make-kpkg –initrd kernel_image
#da aggiungere a /etc/sudo
pr ALL=(ALL) NOPASSWD : ALL
About
