formats

Modify root environment using the right way under FreeBSD

Hello fellows!

Today, after a few months off … I’m back with a few tips that you would definitely love – or not.
Here, I’ll explain how to modify the root environment using the proper way… What an easy task, and would you know how?
(more…)

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Get rid of defunct processes … it’s possible :P

Hi guys,

Have you ever been in the situation of getting on your nerves because you can’t kill a process ??
I did not :P But I was just wondering how to get rid of them.

I’ll teach you how to do it in this tip! (more…)

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Zero padding in bash

Hi folks,

I have been asked how to do zero padding in bash … as C language does it with printf, Bash also offers a printf command that has almost the same syntax as the one in the C language… (more…)

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Live stats for dd … everything is possible!

Good Afternoon!! … or morning … depends where you are :P

Well, in computing world, it’s always shiny, happy, warm!! So, we don’t care of the time ^^
But sometimes, we do care … especially when you ran a dd of Gigabytes of data that is running forever!!

I’ll show you how to get stats even when the command is still running (more…)

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

APC 7920 Lost Admin Password!!!

Argh!!! We lost the admin password of our APC (PDU)…
First thing that a normal and respectable system or network administrator would do is to read the manual to see if we can find a section: “Lost Password Recovery”.

Happily, you will find it … but quickly you will sink into deep abyss … (more…)

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Mailman with abuse mailing list … not receiving

Hi fellows,

Today i bumped on an issue. On his mail server, my friend got Postfix and Mailman to manage mailing lists.

The problem he got is that he has a list called: Abuse, and he can’t seem to receive mails to it. When i checked the postfix logs, I saw that a mail sent to the list Abuse was finally redirected to postmaster@localhost… Why that ?! :@ (more…)

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
3 Comments  comments 
formats

Configure network interfaces under FreeBSD.

Hello ladies and gentlemen,

As said, about one year ago, i now open the BSD category !!! What’s up!? ^^
So, today, i’ll teach how to configure network interfaces under FreeBSD…

Yeah .. i know …some of you will think that i think you’re a bunch of noobs … but no! It’s just that i don’t think that all of you are BSD nerds … (more…)

 
Tags:
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
1 Comment  comments 
formats

VirtualBox: DHCP problem with FreeBSD

Today, i got this idea.
Kick out Linux and welcome FreeBSD!!!

But yeah …. no. I just wanted to make a little place to FreeBSD in my life, and see if we fit together. BUT!!! Because there’s always a But in Shakespare in Love (not sure about how to spell that name -_-’). I wanted to try first on VBox, but bzzzzzzzzzz. DHCP won’t work!! Bugger…

Little trick: Use PCnet-PCI II instead of PCnet-PCI III (FastEthernet for that one .. forget about it) for the network adapter.

That’s it! Easy, ain’t it?
Let’s take a look about that Demon!

Who knows, I may add a category FreeBSD later on :P Stay Wired!

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Don't grep grep!!!

Published on May 25, 2009 by in Tips

Well well, a linux user / admin who has a little respect for himself has to know that tool: grep.
Used for string searching, we can use it on the output of a command using the pipe character.
But, what happened when you do: ps x | grep firefox?? (more…)

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
2 Comments  comments 
formats

Rename files easily

Published on May 25, 2009 by in Tips

A lot of people asked me how to rename files easily and fast enough. We all know the command mv which is used to move files but we can use it to rename files as well (which will be the same operation as moving a file into the same directory).
But we do have a command that has the purpose to actually rename a file: rename. (more…)

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
4 Comments  comments 
© Welcome to my Tribute
credit