Wednesday, May 15, 2013
How to remove kernels from previous release?
Open terminal and check your current kernel:
uname -r
DO NOT REMOVE THIS KERNEL!
Next, type the command below to view / list all installed kernels on your system.
dpkg --list | grep linux-image
Find all the kernels that lower than your current kernel. When you know which kernel to remove, continue below to remove it. Run the commands below to remove the kernel you selected.
sudo apt-get purge linux-image-x.x.x.x-generic
or
sudo apt-get purge linux-image-3.2.0-3{0..5}-generic
Finally, run the commands below to update grub2
sudo update-grub2
Reboot your system.
Tuesday, May 14, 2013
Copy the public key to remote-host using ssh-copy-id
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
more in:
Sunday, May 12, 2013
xubuntu 12.10 mining bitcoin
Follow this tutorial:
http://www.distrogeeks.com/install-cgminer-latest-ubuntu/
but use amd sdk 2.7
2.8 don't work for me.
http://www.distrogeeks.com/install-cgminer-latest-ubuntu/
but use amd sdk 2.7
2.8 don't work for me.
Saturday, May 04, 2013
sendemail: invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 332
sudo aptitude install sendemail
sudo aptitude install libio-socket-ssl-perl
sendEmail -f xxx@gmail.com -t xxx@gmail.com -u Teste_Assunto -m Teste_Corpo -s smtp.gmail.com:587 -xu xxx_conta -xp xxx_senha -o tls=yes
if you have this error:
invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm
The SSL_version is being coded as "SSLv3 TLSv1" and the regular expression is failing. I hacked it as a workaround as follows... change:
m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1[12]?))$}i
to:
m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1[12]?))}i
That did the trick for me.
Apagar ficheiros duplicados
sudo aptitute install fdupes
fdupes -r /home > dupes.txt
fdupes -r -d /home
fdupes -r /home > dupes.txt
fdupes -r -d /home
Subscribe to:
Posts (Atom)
Git get all remote branches
git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branc...
-
sh -c 'xfce4-screenshooter --fullscreen --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"' s...
-
Known Issues Firefox 3.5 will only support color profiles as specified by ICC v2, later versions will add su...