some unix tools

Giganews Newsgroups
Subject: some unix tools
Posted by:  Weiduo.De…@gmail.com
Date: 17 Mar 2006

I am wondering what windows tools I can use to achieve what the
following unix tools provide.

1. null file
in unix, I can backup a database to an empty device file. like "db2
backup db test to /dev/null". What is equivlant to "/dev/null" in
Windows?

2. tail
If I want to view just the last 100 lines of a file, I can use "tail
-100 test.log", how can I do it in Windows?

I can dynamic view a output file "tail -f test.log", how can I do it in
Windows?

Thanks!

Replies