Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do unix file lenghts work? Post 302694101 by Don Cragun on Thursday 30th of August 2012 07:05:27 AM
Old 08-30-2012
On a UNIX system, the size of a file is the offset in the file of the last byte in the file. Text files on UNIX Systems can be any size from 0 bytes to several terabytes depending on available disk space, file system limitations, and system administrator imposed file size limits for each user on the system.

Note that if you're copying a file from an MVS system (with an EBCDIC code set) to a UNIX system with an ISO 8859-*, ASCII, or UTF-8 codeset, you may need to use:
Code:
dd if=mvs_filename of=unix_filename conv=ascii

after getting the MVS file moved onto your UNIX System.
This User Gave Thanks to Don Cragun For This Post:
 

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
netid(4)							   File Formats 							  netid(4)

NAME
netid - netname database SYNOPSIS
/etc/netid DESCRIPTION
The netid file is a local source of information on mappings between netnames (see secure_rpc(3NSL)) and user ids or hostnames in the local domain. The netid file can be used in conjunction with, or instead of, the network source: NIS or NIS+. The publickey entry in the nss- witch.conf (see nsswitch.conf(4)) file determines which of these sources will be queried by the system to translate netnames to local user ids or hostnames. Each entry in the netid file is a single line of the form: netname uid:gid, gid, gid... or netname 0:hostname The first entry associates a local user id with a netname. The second entry associates a hostname with a netname. The netid file field descriptions are as follows: netname The operating system independent network name for the user or host. netname has one of two formats. The format used to specify a host is of the form: unix.hostname@domain where hostname is the name of the host and domain is the network domain name. The format used to specify a user id is of the form: unix.uid@domain where uid is the numerical id of the user and domain is the network domain name. uid The numerical id of the user (see passwd(4)). When specifying a host name, uid is always zero. group The numerical id of the group the user belongs to (see group(4)). Several groups, separated by commas, may be listed for a single uid. hostname The local hostname (see hosts(4)). Blank lines are ignored. Any part of a line to the right of a `#' symbol is treated as a comment. EXAMPLES
Example 1 A sample netid file. Here is a sample netid file: unix.789@West.Sun.COM 789:30,65 unix.123@Bldg_xy.Sun.COM 123:20,1521 unix.candlestick@campus1.bayarea.EDU 0:candlestick FILES
/etc/group groups file /etc/hosts hosts database /etc/netid netname database /etc/passwd password file /etc/publickey public key database SEE ALSO
netname2user(3NSL), secure_rpc(3NSL), group(4), hosts(4), nsswitch.conf(4), passwd(4), publickey(4) SunOS 5.11 23 May 1994 netid(4)
All times are GMT -4. The time now is 10:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy