Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do unix file lenghts work? Post 302694325 by toro95037 on Thursday 30th of August 2012 11:32:22 AM
Old 08-30-2012
It's best to think about UNIX files as not blocked, think more like a single data stream for the entire file content. File size on UNIX is a total byte count, so if you have 50 lines of block size 80 that will come out to about 4000 bytes. Like Don says above, make sure you convert to ascii format using the appropriate ftp commands.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reboot the Unix work station

Hi I'd like to know if to reboot a work station I need the root permission. If not what is the procedure ( commands or steps ) to reboot a work station. Cheers Mohsen (5 Replies)
Discussion started by: mohsen
5 Replies

2. UNIX for Dummies Questions & Answers

old unix machine at work model # wy-50

I was a tec at AT&T for 36 years and now work at a Doctor's office. We have the old unix unit in our office and it seems my keeps going out. Since, this was my line of work I want to repair this unit so I will not have to walk to the other office. Here is all the info off the unit which is just... (1 Reply)
Discussion started by: marycarroll
1 Replies

3. Post Here to Contact Site Administrators and Moderators

no-reply@unix.com does not work

Hello I just want to say that the "no-reply@unix.com " does not work. emails never get threw. I have been trying to get a my password for the last two weeks. :( After trying for awhile i got. Thanks peterh (1 Reply)
Discussion started by: Peterh
1 Replies

4. Shell Programming and Scripting

Multiple excel work sheets through UNIX

Hi, There is this requirement to create multiple work sheets in an MS Excel file through UNIX. We normally can create one work sheet in unix by either tab or comma delimiting and appending .xls or .csv to the file name, but can we create multiple work sheets. Regards, Puspendu (1 Reply)
Discussion started by: puspendu
1 Replies

5. Shell Programming and Scripting

startup scripts, how do they work in UNIX?

I need to make a script to start the postfix service on a server when the machine starts up. I have a script written below, which I think will work, but I am confused on how the rc2.d & rc3.d etc directories actually work. If I enter the script below, and stick it in the rc3.d directory,... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. UNIX for Dummies Questions & Answers

Any Linux/Unix work with SATA yet?

i got my computer in 2k, built it myself. top of the line then and better than most still now. one problem however is i was never able to install unix because the old kernels were not compatible with SATA hard drives i dont have any IDE drives nor do i want any I want mine on SATA, but every... (5 Replies)
Discussion started by: GXDeMoNN
5 Replies

7. UNIX for Dummies Questions & Answers

Emergency work question for a Unix dummy

Im trying to awk two values from each a line (about 40000 lines in the file): e.g. gi|10580442|gb|AAG19320.1| inosine-5'-monophosphate dehydrogenase-like I want to get the value between the first set of pipes and then the value between square brackets separated by a tab, i.e. 10580442... (6 Replies)
Discussion started by: gorkin
6 Replies

8. Programming

Ensure C++ will work on a Unix system

For my one college course, my professor said that we have to ensure that the C++ code we send him will work on a Unix system. I in turn installed Cygwin on my Windows 7 machine, and have been using that to compile and check my code, but it sounds like Cygwin is still compiling the code for my... (2 Replies)
Discussion started by: davidp007
2 Replies

9. Shell Programming and Scripting

UNIX Shell script to work with .xml file

Hi Team, Could you please help me on below query: I want to retrieve XML elements from one .xml file. This .xml file has commented tags as well. so i am planning to write Unix command/script which 1.will chekc for this .xml file 2. it will ignore the commented XML lines. i.e. XML tags between... (3 Replies)
Discussion started by: waiting4u
3 Replies

10. Homework & Coursework Questions

UNIX script home work

plz can any one help to write the script of the output provided in the pdf. There are 2 tasks A and B. (5 Replies)
Discussion started by: mohdsadik90
5 Replies
ISOSIZE(8)						       System Administration							ISOSIZE(8)

NAME
isosize - output the length of an iso9660 filesystem SYNOPSIS
isosize [options] iso9660_image_file DESCRIPTION
This command outputs the length of an iso9660 filesystem that is contained in the specified file. This file may be a normal file or a block device (e.g. /dev/hdd or /dev/sr0). In the absence of any options (and errors), it will output the size of the iso9660 filesystem in bytes. This can now be a large number (>> 4 GB). OPTIONS
-x, --sectors Show the block count and block size in human-readable form. The output uses the term "sectors" for "blocks". -d, --divisor number Only has an effect when -x is not given. The value shown (if no errors) is the iso9660 file size in bytes divided by number. So if number is the block size then the shown value will be the block count. The size of the file (or block device) holding an iso9660 filesystem can be marginally larger than the actual size of the iso9660 filesys- tem. One reason for this is that cd writers are allowed to add "run out" sectors at the end of an iso9660 image. AVAILABILITY
The isosize command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils /util-linux/>. util-linux June 2011 ISOSIZE(8)
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy