Read the date of the logs of Squid
Squid in your logs, save the date unixstamp, with an accuracy of seconds... beautiful, but impossible to read.
Read more...
Squid in your logs, save the date unixstamp, with an accuracy of seconds... beautiful, but impossible to read.
Read more...
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...
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...
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...
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.
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...
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:
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)'