Weblogs for Nilshar
#4
Posted by Nilshar on Tue 15 Jul 2008 at 16:36
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..
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..
#3
Posted by Nilshar on Wed 3 Oct 2007 at 12:40
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.
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.
[0 Comments
| Add Comment
|
]
#2
Posted by Nilshar on Wed 22 Nov 2006 at 09:44
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...
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...
#1
Posted by Nilshar on Wed 9 Aug 2006 at 15:39
Does anyone here use apt-build ?
I'm really curious to know how it is..
Please share any experience with this tool.
I'm really curious to know how it is..
Please share any experience with this tool.