Archives

Articles tagged ‘linux’

Ubuntu is going Windows-way

Ubuntu is indeed responsible for the huge growth of Linux home-users due its simplicity of out-of-the-box use. As a brief retrospective, the emerging (in past) Linux distributions were always known to their difficulty on setting up the propper drivers and essential software. If you were installing on a laptop, things turned out to be a nightmare. At this point, only IT people used Linux because home-users were scared away (I think it coincided with the ugly GTK 1.x interfaces – under Gnome).

Ubuntu emerged to aid home-users and be more user-friendly, having and startup installation that would recognize and install all your drivers and give you a starting setup of the most common used tools like e-mail clients, IM clients, web browser and an office suite.
Read the full article

Quick Tip: Seeking and destroying the swapfiles leftovers

Once again with my VIM swapfiles problems, I’ve left too much of them around my app dirs on my pre-screen era. Every power-down or connection loss was the birth of a new swap. Well, they all appeared when I had to sync with the production server.
Read the full article

Quick Tip: du’s –max-depth to find fat directories

Sometimes you’re working on your computer and things start to work strange. The softwares starts to crash without reason… uhoh… or my home or my temp/var folders are full.

To quickly have an overview of your directory sizes du helps wonderfully!

du is an utility binary that comes with (I think) most Linux distributions and some BSD that lists all directories’ and subdirectories’ “disk usage” (got it?). By default, du scans recursively until the last directory on tree.

The --max-depth attribute used with the -h (human-readable units) provides a good look at your disks’ size.

The following code scans only your first directories whithin your home directory:

du -h --max-depth=1 ~

Just change the --max-depth value to match your needs.

Truths and myths on the web development world

We’ve all seen the most diverse kind of article of “Best web development ________”, “Applications to aid agile web development”… ahh that word “agile”…

The thing that worries me about all those buzz is that it’s all partial. I’m not crucifying people but its what to expect: If the writer is a Windows user, it’ll provide an article about Windows environment softwares and practices. (You can keep reading, this is not a Windows vs Linux post)

Read the full article

Quick Tip: Right terminal emulation over PuTTY

For every *nix/BSD user, there was no life before SSH and even the crappy Windows plataform got a client (thank god).

But I’ve personally ran into many bad experiences that Google helped me solve.

So, here are my advices for logging into SSH to a linux machine:

  1. Change your Terminal Emulation to “linux”: Connection-> Data -> Terminal-Type String = linux
  2. Change your escape sequence to “Linux”: Terminal -> Keyboad -> “The Function Keys and Keypad” -> Linux
  3. Set the terminal to UTF-8: Window -> Translation -> “Character set translation on received data” -> UTF-8

That’s it, if someone has other tips envolving PuTTY SSH Client, please share at the comments!