Category: Linux

Packages to Install in a Debian/KDE Laptop

I usually install these packages after I install Debian/KDE in a Laptop. apt-get install … kdebase k3b gcc vlc xine-ui…

Get Kernel Version

Show version of the kernel cat /proc/version

List Encoding – iconv

This command lists all known encodings iconv -l

Apt using CD/DVD

Install / upgrade a deb package from cdrom/dvd apt-cdrom install package_name

Change Ownership of a File

Change user and group ownership of a file chown user:group file

Meminfo

Show memory use $ cat /proc/meminfo

List all Installed RPMs

List all packages installed on the system yum list

Force delete a file

Force delete a file rm -f file

Tail Command in Follow Mode

View in real time what is added to a file. -f stands for Follow tail -f /var/log/messages

Network Stats

Show network adpters and statistics cat /proc/net/dev