Posts Tagged ‘awk’

Howto purge config file of deleted packages in debian system

List packages that starts with rc server:~# dpkg -l |grep ^rc rc belocs-locales-bin 2.4-4 tools for compiling locale data files rc belocs-locales-data 2.4-6 base files for localization rc libclamav5 0.94.dfsg.2-1lenny2 anti-virus utility for Unix – library rc libdns43 1:9.5.0.dfsg.P2-5.1 DNS Shared Library used by BIND rc libisc44 1:9.5.0.dfsg.P2-5.1 ISC Shared Library used by BIND rc [...]

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »

Various bash

# last filed zcat access.log.gz |grep 27/Jan/2008 |awk ‘{ field = $NF }; {print field}’ # count per Hits zcat access.log.gz  |grep 27/Jan/2008 |awk ‘{ field = $NF }; {print “Host: ” field } ‘ | sort |uniq -c # count per Hits + Totale al fondo cat nomefile |grep “27/Jan/2008:” |awk ‘ { field [...]

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »
 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera