Red Hat / Fedora :: Record Length Of File In Common Terms?

Jan 4, 2011

what is record length of file in common terms ?

View 1 Replies


ADVERTISEMENT

Programming :: Parse Files With Variable Record Length?

Aug 6, 2010

I would like to extract Room number, Lastname,Firstname,invoice (205880080),arrival date, departure date, and total(229.46). Can you at least give me a hint on how to proceed? I have tried a lot but I am stumped from the beginning.

***History***
Room: 124 B Payment: Bell/TRAVELSCAPE.COM
Lastname*FIT*,Firstname 4A, 0K, 0B Guest
Bell *205880080 FT
Bell *205880080 July 31, 2010

[Code]...

View 4 Replies View Related

Programming :: Directory Record Length Is Variable In Ext2 Filesystem?

Jan 7, 2011

The declaration for directory record length in ext2 filesystem is as follows:

Code:
#define EXT2_NAME_LEN 255
struct ext2_dir_entry_2 {
__u32 inode; /* Inode number */
__u16 rec_len; /* Directory entry length */
__u8 name_len; /* Name length */
__u8 file_type;
char name[EXT2_NAME_LEN]; /* File name */
};

Some say because the record is not in a fixed length so rec_len is the real record length. Why is the length of the array `name' not fixed? I thought C arrays like this should be fixed length. C99 has variable-length arrays, does this structure count on C99?

View 7 Replies View Related

Red Hat / Fedora :: Cannot Install The Glbic-common File Cause It Give Me A Conflicting Error

Mar 11, 2010

I am trying to install gcc in RHEL 5.4

These is the output:

I can not install the glbic-common file cause it give me a conflicting error (the package is already install but it is somehow not recognize by the system)

View 1 Replies View Related

OpenSUSE Install :: Creating ISO-file From Burnt ISO-file On CD-R Gives Different File Length

Jul 25, 2010

I downloaded three iso-images, 1 dvd-image and 2 cd-images:

openSUSE-11.3-DVD-i586.iso
openSUSE-11.3-GNOME-LiveCD-i686.iso
openSUSE-11.3-KDE4-LiveCD-i686.iso

Being paranoid, I created iso-files from the burnt DVD-R and the two burnt CD-R to verify integrity.

The iso-file of the DVD-R was identical to the downloaded image. Both iso-files created from the CD-R were different in size.

The original size of openSUSE-11.3-KDE4-LiveCD-i686.iso is 719.323.136 Bytes.

I only got 718.938.112 Bytes when recreating an ISO-file from my CD-R.

The CD-R is from Sony. When the length of my ISO-file doesn't correspond to the downloaded one, the checksum file verification doesn't work.

View 3 Replies View Related

Fedora Hardware :: Athlon X2 Vs Intel Core 2 Duo - How's The X2 In Terms Of Compatibility With F12

Mar 8, 2010

How's the X2 in terms of compatibility with F12. I see some deals that tempt me to pick up a cheap small desktop and those desktops use that AMD chip (along side an ATI Radeon) I prefer sticking with intel and maybe build my own, but I am curious about how AMD holds up in performance and/or compatibility with Fedora

View 3 Replies View Related

General :: Error: Php53-common Conflicts With Php-common

Jun 4, 2011

I have installed php 5.3.6-4 on centOS 5.6. When i try to install some modules of php then it gives an error

php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common

[code]....

I have reinstall it twice but each time i get same error.

View 6 Replies View Related

General :: Determine Mp3 Length By File Size?

Nov 16, 2010

Multiple dirs full of mp3s All strictly encoded with exactly the same parameters (CBR 128kbps, Joint-Stereo, etc) Is it possible to determine the total playing time (to within ~98% accuracy) by some formula based on the total file size? I say ~98% accurate since ID3 tags do consume a small amount of space.

View 3 Replies View Related

General :: Delete Lines From File By Their's Length

Apr 27, 2010

i've got a file with sorted words - one on each line.How could it be possible to delete thouse lines that have words of length 1 or 2 (1-2 letters). I guess a good way it will be with AWK, n its fuction length(), but getting it, i dont know how to delete those very lines.

View 14 Replies View Related

General :: Regex To Find Min / Max Length Words In File?

Jan 29, 2011

i am trying to find all 3 and 4-character length words in my file (which is huge and has alot of entries in it, a big fat wordlist!).My attempt with this regular expression (which I thought should work, found something on length search here: [URL]

cat sorted_noapostrophe.txt| grep '.{3,4}'

but it returns no results? Also to find any words starting with 'f' which are between 3 and 5 characters (inclusive) long, how can this be done?

View 4 Replies View Related

General :: Recover File Using FAT Cluster Chain Instead Of Using Stored Length In Its Table?

Feb 1, 2011

I'm trying to recover movie files from my TNT receiver hard drive but it corrupts its FAT32 allocation table (crappy cheap device...)

Using dosfsck is useless because the correct file length is the cluster length, not the (shorter) one in the table, and dosfsck only proposes to shorten the file, which I won't do.

Question: how to recover a file using the FAT cluster chain instead of using the stored length in the FAT table?

View 1 Replies View Related

General :: Bash Script To Read Csv File With Multiple Length Columns

Jul 27, 2011

I've searched everywhere and I can't come up with a good solution. For each line I need to find the average, min, and max. I've seen plenty of solutions where the number of columns is fixed, unfortunately for me these lines can get pretty large. My thought was to read each line individually into an array, loop through the array and find the avg, min, and max that way but i haven't had much luck. I can read each line using a while loop but I'm having trouble with the array part, or perhaps that's not the best solution?

View 14 Replies View Related

Ubuntu :: Common Dat A Format - .pub File Extension

Jul 8, 2010

I have received a file in CDF V2 format (.pub file extension).

Is there any software available to read this file in Linux (Ubuntu)?

View 2 Replies View Related

Debian Multimedia :: Play The Live Feed On Site With Smplayer - Zero Length File?

Apr 16, 2010

play the live feed on this site with smplayer? [URL]

View 7 Replies View Related

General :: Sed/awk/grep Search For Number String Of Variable Length In Text File?

Jan 19, 2010

I need to search a text file for a string of numbers which are different lengths, and always are between number=" and " like:

number="1234567890"
number="22390"

I need to grab those numbers and pipe each one to a line in a file. I've already tried something with awk and that didn't seem to work.

View 10 Replies View Related

Programming :: Finding Maximum Length File In A Directory Recursively Using Shell Scripting?

Nov 8, 2010

I want to find maximum length file in a given directory. It should search recursivley. I want this to be done using ls and simple looping constructs.

View 6 Replies View Related

General :: Can't Applypartial Context To Unlabeled File /common?

Apr 26, 2010

when i type this command chcon -t samba_share_t /common

error came chcon: can't applypartial context to unlabeled file /common what type of problem is this?

View 1 Replies View Related

OpenSUSE Install :: Can't Login To Anyone Via SSH When Setup Pam_wheel In Common-auth File

Jul 26, 2011

I have a problem as below:

When i setup pam_wheel.so in /etc/pam.d/su, it runs correctly. But when i set up pam_wheel.so in /etc/pam.d/common-auth (include file), i can't login to anyone via SSH. Details configuration of /etc/pam.d/su and /etc/pam.d/common-auth:
/etc/pam.d/su:

auth include common-auth
account include common-account
password include common-password
session include common-session

[Code]....

View 1 Replies View Related

Red Hat / Fedora :: Nul Files Appearing With Zero Length

Apr 14, 2010

I am working on a system that uses Red Hat Client 5.3. Files keep being created all over the system. They are all named nul and are zero length. We use a common login and thy are owned by this login account. I have grep'd the entire system looking for some code that would be writing these files but nothing has come up.

View 2 Replies View Related

Ubuntu Installation :: Unable To Open Files List File For Package Grub-common?

Jan 30, 2011

Code:
sudo apt-get upgrade
Lots of text (Reading database. dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `grub-common': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)

View 6 Replies View Related

Ubuntu :: Error - Warning: Files List File For Package `libavahi-common-data' Missing

Dec 1, 2010

Whenever I try to install or remove a program, I get the following error

Code:
dpkg: warning: files list file for package `libavahi-common-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libgtk2.0-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libxres1' missing, assuming package has no files currently installed. (Reading database ... 55%dpkg: unrecoverable fatal error, aborting: files list file for package 'ubuntu-mono' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)

View 4 Replies View Related

Fedora :: Increase The Mousewheel Scroll Length?

Apr 23, 2011

Does anyone know how to increase the mousewheel scroll length? Take for example, Google Chrome, in a Windows operating system one tick in the mouse scroll wheel moves the page 10 lines, while in Linux one tick only moves the page 4-5 lines which can be quite annoying when scrolling through large webpages, does anyone know how to change the scroll length? I'm using Fedora 14 x86_64

View 1 Replies View Related

Red Hat / Fedora :: Make The Average Queue Length Of HD?

May 19, 2010

how to make the average queue length of HD. and therefore that each process be using? anyone can do this by prompt?

View 9 Replies View Related

Fedora :: FC14 - Rt_ioctl_giwscan. 6(6) BSS Returned - Data->length = 890

Nov 4, 2010

On my FC14 in /var/log/message i have a lot of erroe about rt_ioctl ..

[Code]....

View 1 Replies View Related

Red Hat / Fedora :: Invalid Compressed Data - Length Error

Jun 20, 2011

I have a something.gz file. When I type gunzip -c something.gz this commend open the file but at the end of the file I get an error message invalid compressed data--length error. Also if I type more at the and of this commend like gunzip -c something.gz | more, file would not open. It gives some meaningless characters.I want to open this file with more.

View 1 Replies View Related

Fedora :: Glibc-common On X86_64?

Jun 17, 2009

I use FC 10 on my desktop. It is great!. But I have some troubles with installing new software via yum or rpm. Most of install/update/upgrade transactions fail. The yum prints string: Error: Missing Dependency: glibc-common = 2.9-2 is needed by package glibc-2.9-2.x86_64 (installed) I tried to manually install or update the glibc-common via yum or rpm, but it fails. The # uname -a -i -p returns

Code:
Linux achfc10 2.6.27.5-117.fc10.x86_64 #1 SMP Tue Nov 18 11:58:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Could you have any ideas how to solve the issue?

View 8 Replies View Related

Fedora :: Kdelibs-common Cannot To Been Installed

Feb 21, 2010

I have problem when update my system F11 kdelibs-common cannot to been update. So I remove the other old. the problem is I Can't install the new one.

View 1 Replies View Related

Debian :: How To Install In Laymans Terms

Jul 9, 2010

I've downloaded debian lenny 5.0.5, i have downloaded the kde, i have tried to install it but i am having problems.

the system i am trying to put this on is a hp c8000 hppa system.. I did try the sparc software, didn't work.

i have worked out some code, but i'm at my wit's end. I need to learn how to setup/ install/ run debian. i have spent like two days 0ver 24 hours doing research and can't work it out.

View 6 Replies View Related

General :: FastCGI And Cgi-bin Which Are In Layman Terms?

Dec 7, 2010

Can someone explain what FASTcgi and /cgi-bin are in layman terms? I'm having a hard time understanding reading all the google posts.

View 3 Replies View Related

General :: Record Operations In Log File From Terminal?

Jul 27, 2011

I would like to document my activity on linux terminal during some operation.I want to have text file which will contain all commands typed and output from those commands in a file.I know how to set this option in Putty but I have some problems in linux terminal.

<pre>
bash | tee output.log
</pre>

When I perform above spell, it only records STDOUT to file.on't have there STDIN,STDERRHow to have in this output.log file STDIN,STDOUT,STDERR

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved