Weblogs for Nilshar

Posted by Nilshar on Tue 15 Jul 2008 at 16:36
Tags: , , , ,
You are using tail -f <file> to monitor a log file ? I was too.
You are using less to read and scroll up/down, search, etc.. a file ? I was too.
Today someone showed me that "less" is able to do tail (maybe most of you know already..).

use your usual :
less <file> to read the file, and if you want to use it as a tail, simply shift+F !
you want to stop the "tail mode" ? ctrl-C and you back to usual less. shift-F again to tail again etc..

 

Posted by Nilshar on Wed 3 Oct 2007 at 12:40
Tags: none.
Hello,

I'm trying to create a small script to upgrade several identic machines from sarge to etch.
I use debconf-get-selections and debconf-set-selections and it works great.
Only problem I have, if it still ask me if I want to restart some daemon when upgrading libc6.
So far, I didn't found a way to automaticly answer these question.
If anyone know how to do that, it will help me a lot, thanks :)

Nilshar.

 

Posted by Nilshar on Wed 22 Nov 2006 at 09:44
Tags: none.
Is there a way to tell sudo to not resolve hostname ?
Actually, if hostname is not in /etc/hosts, sudo just don't work.. Ideally, hostname should always be in /etc/hosts, but if there is a solution to tell sudo to ignore that, it would be great...

 

Posted by Nilshar on Wed 9 Aug 2006 at 15:39
Tags: none.
Does anyone here use apt-build ?
I'm really curious to know how it is..
Please share any experience with this tool.

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search