File

Posts Tagged ‘linux’

Read the date of the logs of Squid

Tuesday, 22 June 2010 2 comments

Squid in your logs, save the date unixstamp, with an accuracy of seconds... beautiful, but impossible to read.
Read more...

Categories: Techs Tags: , ,

Compiling Winexe on Ubuntu 10.04

Tuesday, may 11, 2010 1 comment

Winexe is a tool that allows us to run commands on a remote Windows from your machine with linux. That is to say..a clone of the command “psexec” from Windows, to linux. Do walking in Ubuntu..have their turns..
Read more...

Categories: Techs Tags: ,

To see the status of the command ‘dd’ in linux

Wednesday, April 28, 2010 4 comments

For different reasons of life, I had to clone 2 partitions in linux using the command ‘dd‘ and as usual.. I forgot to launch the process using the command ‘pv‘ that was recommended to me by my friend Runix a long time ago... but looking for a little bit, I found that the command ‘dd’ has a way to see the state of the process.
Read more...

Categories: Techs Tags: ,

Putting a little more wave to the history of linux

Saturday, 21 November 2009 No comments

Setting the environment variable HISTTIMEFORMAT we can give you the format you want to use in the history of the users in linux .. since by default only records the commands executed .. but not the date, time, etc...

Read more...

Categories: Techs Tags: , , ,

Doing the cleaning in your “Debian” then do upgrades

Thursday, 22 October 2009 No comments

Then do several dist-upgrades, upgrade, etc, our distro is going to accumulate a amount of porqueria important.
All of this that I detail below, serves to purge a little bit about our distro, deleting files, configs old no longer used, packages, orphans, etc
Of course all this must be done very carefully, for every case is a different world, but in large strokes, serves.

Read more...

Categories: Techs Tags: ,

Show the applications that are using the internet connection, at a particular time

Tuesday, 6 October 2009 No comments

Util commanline (taken from http://www.commandlinefu.com) that shows you all the programs that are using the internet connection at the time the script is run:

lsof -P -i -n | cut -f 1 -d " "| uniq | tail -n +2

Returns something type..
Read more...

Categories: Techs Tags: , ,

Upgrade Debian Etch to Lenny

Tuesday, 29 September 2009 1 comment

This is a guide to re-basic to update your distribution Debian Etch to Debian Lenny.

Before doing any of the steps in this guide, you have to be updated all the packages in Etch. This means:

Read more...

Categories: Techs Tags: ,

Do an upgrade of all the perl modules installed via Cpan

Thursday, 24 September 2009 No comments

I have here another beautiful commandline to do an upgrade of all the modules of perl that you have installed on our system, via CPan:

perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Categories: Techs Tags: , ,