Posted by Marcelo on Sabadini
24/11/2010
Putty - Saving log of connections
Hello,
Today I will talk about something very important. When I close the contract with my clients, they often pass me the data to the remote access server. Certainly many are a bit afraid and always speak jokingly: "Be careful ok?"
Well, not to listen to this joke I decided that every time a customer I pass the password to the server I access remotely I'll give him a log of EVERYTHING that was done by me. But how? Simple. See the configuration screen below: Read the rest of this entry »
Posted by Marcelo on Sabadini
08/11/2010
[Quickie] Putty - Saving your settings (on Linux)
Hello everybody, does not show time here ![]()
Got a question of Ederson ( here ) about how to save the list of servers on Linux Putty.
Well Emerson (and whoever else is interested ...), is very simple, simpler than in Windows. When you save some server in Putty it creates a hidden folder in the root user and put some files there. Check it:
![Hidden folder Putty 1 conf putty linux [Rapidinha] Putty Salvando suas configurações (no Linux)](http://marcelosabadini.com.br/blog/wp-content/uploads/2010/11/1-conf_putty_linux.jpg)
We have two options:
1) Either we save all the settings (I prefer this);
2) Or just save the list of servers. Read the rest of this entry »
Posted by Marcelo on Sabadini
04/09/2010
[Quickie] Terminal - Shortcut to the last call to run a program
Hello, today I'll take another quick tip to not only stay so long without posting anything here ![]()
When we work a lot with the terminal usually ran a few commands and the great times we need to run them several times. For example calling a log file:
marcelo @ marcelo: ~ $ tail-f-n 200 / var/log/apache2/error.log
What happens is that as many commands executed during the day we lost some time by pressing the up arrow until you find the command you want, sometimes it's faster to type it again. But his troubles are over.
There is a shortcut to the last execution of a specific command. See how I could run the LAST tail history:
marcelo @ marcelo: ~ $! tail
See? The story of Mr. M is the '!' (Exclamation). Easy right?
See a real example.
Posted by Marcelo on Sabadini
02/06/2010
Shell Script - Generator update packages
Hello everybody.
Today I will show how to script that reads an update from SVN and generating a zipped package with only the files that have changed from one revision to another. For this we use Shell Script. Yes! if you run Windows will run out this mamata!!
First I would like to say that I'm no expert on Shell Script, much less Linux. I'm just a guy who loves and seeks to use them in day-to-day to make facilities, productivity and fun.
For the reason described in the previous paragraph, this script could be improved greatly. But serves me perfectly and made me reduce the time to update my environment just 20 minutes to 3 ![]()
So here we go!
It would be nice to know you a little of the topics below to be able to follow the reasoning:
- Linux (for our scritp only runs on it);
- Do some things in line comanto (because it is more elegant);
- SVN on the command line (in order to understand the script better);
Posted by Marcelo on Sabadini
27/10/2009
2nd Meeting of the PHP MG
OA staff all good?
Today I'm posting the presentation of the lecture that I taught in the 2nd Meeting of the PHP MG day 17/10/2009.
How to migrate your development environment for Linux.


![Captura_de_tela-marcelo @ marcelo: ~ Captura de tela marcelo@marcelo 300x135 [Rapidinha] Terminal Atalho para executar a última chamada a um programa](http://marcelosabadini.com.br/blog/wp-content/uploads/2010/09/Captura_de_tela-marcelo@marcelo--300x135.png)
