Quote from: Julian on February 21, 2012, 05:28:24 PM
I kept getting viruses on Windows 7, so my partner got fed up with fixing it for me all the time and installed Ubuntu. I'm starting to get the hang of things. Of course, the fact that I'm running Linux makes my technologically impaired mother think I'm a computer god, but I really have no idea what I'm doing.
Julian here are some basic commands:
sudo apt-get update
then
sudo apt-get upgrade
To clean your system type:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
To install a package from the repos:
sudo apt-get install
packageTo install a .deb file:
cd to the directory where the deb file is located:
sudo dpkg -i
package.debIf there is a dependency problem:
type.
sudo dpkg --configure
package.debTo convert a tar file to deb:
type:
sudo apt-get install alien
then
sudo alien --to-deb
package.tar If that doesn't work then type
tar -xvf
package.tarthen cd to the untarred file
then type:
./configure
make
sudo make install
rkhunter is good for searching for rootkits:
sudo apt-get install rkhunter
sudo apt-get --update
sudo apt-get --propupd
sudo apt-get --check
if you want to keep a log:
sudo rkhunter --check | tee -a rkhunter.txt ; echo $?
the command df -h will show you how much of the hard drive has been used.