Linux tool :Fdupes

How Do I Use fdupes?

Find duplicate files in /etc/ directory, enter:

root@K:/home/kartook# fdupes /etc
/etc/src-back
/etc/src-orgi

How Do I Delete Unwanted Files?

You can force fdupes to prompt you for files to preserve, deleting all others (use this with care otherwise you may loss data):

root@K:/home/kartook# fdupes -d /etc
[1] /etc/src-back
[2] /etc/src-orgi
Set 1 of 1, preserve files [1 - 2, [...]

Backtrack : TestDisk ( Digital forensics ,forensics analysis)

TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

TestDisk can

* Fix partition [...]

LINUX : Control users loggin /etc/passwd file

This is something every sysadmin knows, or shoul know, but maybe Desktop Linux users does not know.

Yes it is not too useful for Desktop users anyway but, in case you do not know and might need to enable or disable the loggin ability of some users here is how to.

First let’s see why we would like [...]

How ot install Tweetdeck on ubuntu 10.04 64bit

Whilst Adobe provide a 32bit version of their Adobe Air application for Linux, a native x64 version remains a dream. Thankfully, with few installed dependencies, the 32bit version will happily run on a 64bit installation too

Step 1 .
Get Air, Get Dependencies First things first – you will need a copy of Adobe Air for Linux. The [...]

VMware : How to setup Windows Active Directory authentication on ESX 4.0

To setup Windows Active Directory authentication run the following command replacing “mydc01″ your domain controller name. Replace “mydomain.com” with your domain name.
You can add redundancy by adding multiple domain controllers by running the command again with the other server names

/usr/sbin/esxcfg-auth –enablead –addomain=mydomain.com –addc=mydc01.mydomain.com –krb5realm=mydomain.com –krb5kdc=mydc01.mydomain.com –krb5adminserver=mydc01.mydomain.com –krb5enable
/usr/sbin/esxcfg-auth –enablead –addomain=mydomain.com –addc=mydc02.mydomain.com –krb5realm=mydomain.com –krb5kdc=mydc02.mydomain.com –krb5adminserver=mydc02.mydomain.com –krb5enable

To add users [...]

LINUX : How to Find the Most Memory taking process in Ubuntu

Some Times system we need to kill the memory eater process. When your system become slower, check the following command and find the memory eater.

Open a terminal and Type the following command

kartook@Dwarez:~$ sudo ps aux | sort -nrk 4 | head

Outputlooks like Below

kartook@Dwarez:~$ sudo ps aux | sort -nrk 4 | head
kartook 2194 18.9 [...]

Vmware : How to install Vmware Tools on Backtrack4- Final

I used VMware Workstation 7 to test this.

The BackTrack kernel sources are already in place, so all that’s left to do is install BackTrack in VMware and start the VMware tools install. BackTrack uses up around 5 GB once installed, so plan accordingly.

mkdir /mnt/cdrom
mount /dev/cdrom3 /mnt/cdrom
cp -rf /mnt/cdrom/VMwareTools-7.8.5-156735.tar.gz /tmp/
cd /tmp/
tar zxpf VMwareTools-7.8.5-156735.tar.gz
wget www.offensive-security.com/tools/vmware-tools-patch-backtrack4-7.8.5-2_6_29.tar
tar zxpf [...]

Linux : CentOS-5.5 Released

CentOS-5.5 is based on the upstream release EL 5.5 and includes packages from all variants including Server and Client

All are torrent links user utorrent ( on windows ) or deluge ( Linux)

CD ISO:

http://mirror.centos.org/centos/5.5/isos/i386/CentOS-5.5-i386-bin-1to7.torrent

http://mirror.centos.org/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-1to8.torrent

DVD ISO:

http://mirror.centos.org/centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.torrent

http://mirror.centos.org/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD.torrent

LiveCD ISO:

http://mirror.centos.org/centos/5.5/isos/i386/CentOS-5.5-i386-LiveCD.torrent

http://mirror.centos.org/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.torrent

Possibly Related Posts:

Linux tool :Fdupes
Backtrack : TestDisk ( Digital forensics ,forensics analysis)
Linux : How to find the installed version JAVA [...]

Linux : How to fully block adsense adds on your system

The method uses IPtables to accomplish this

add the following lines to /etc/rc.local

iptables -F
iptables -A INPUT -s googleads.g.doubleclick.net -j DROP
iptables -A INPUT -s pagead2.googlesyndication.com -j DROP
iptables -A INPUT -s ads.google.com -j DROP
exit 0

Thanks : Tux

Possibly Related Posts:

Linux tool :Fdupes
Backtrack : [...]

Ubuntu : How to install ubuntu-restricted-extras on ubuntu 10.04lucid

Most digital media comes in some sort of proprietary format or another; MP3, AAC, DVDs, MPEG, and so on. Ubuntu by default doesn’t include these codecs due to licensing issues. However, it’s quite simple to install the necessary codecs, which come in the Ubuntu Restricted Extras packages. To do so, open up a Terminal window and [...]