du (was Re: octal dump)

2008-11-22 Thread Ron Johnson
On 11/22/08 06:14, Girish Kulkarni wrote: [snip] Thanks for the replies Ron, Mike and others. I guess I understand use of od now (although that du puzzle is still with me). From the top of the man page DESCRIPTION: "Summarize disk usage of each FILE, recursively for directories." The 2nd arg

Re: octal dump

2008-11-18 Thread Ron Johnson
On 11/18/08 18:44, mike wrote: Ron Johnson wrote: On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text fil

Re: octal dump

2008-11-18 Thread mike
Ron Johnson wrote: On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they u

Re: octal dump

2008-11-18 Thread s. keeling
Girish Kulkarni <[EMAIL PROTECTED]>: > > I was trying to understand octal dumps today that can be obtained > using od. But two questions cropped up: > > 1. When would an octal dump be useful? Surely not in perusing text Sure. ftp any text file from a Windows or Mac using binary mode. od -

Re: octal dump

2008-11-18 Thread Ron Johnson
On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they use octal (or hex) du

Re: octal dump

2008-11-18 Thread mike
Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they use octal (or hex) dump to check and edit binary f

RE: octal dump

2008-11-17 Thread owens
> > > > Original Message >From: [EMAIL PROTECTED] >To: debian-user@lists.debian.org >Subject: RE: octal dump >Date: Mon, 17 Nov 2008 22:24:49 +0530 > >>Hello, >> >>I was trying to understand octal dumps today that can be obtained >>us

Re: octal dump

2008-11-17 Thread Boyd Stephen Smith Jr.
On Monday 17 November 2008, "Girish Kulkarni" <[EMAIL PROTECTED]> wrote about 'octal dump': >1. When would an octal dump be useful? Surely not in perusing text > files?! And when people say they use octal (or hex) dump to check > and edit binary files, how do they learn to do so? 1) Learn h

Re: octal dump

2008-11-17 Thread Ron Johnson
On 11/17/08 10:54, Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! Nowadays? Hardly ever, if at all. But the PDP-7, which U

Re: octal dump

2008-11-17 Thread lee
On Mon, Nov 17, 2008 at 10:24:49PM +0530, Girish Kulkarni wrote: >-Ad'. But I find that the offset of the last line does not match >with the size of the file given by 'du -h'. Why is that? du shows disk usage, which can be different from the size of a file due to the block size of the fi