Red Hat / Fedora :: Record Length Of File In Common Terms?
Jan 4, 2011what is record length of file in common terms ?
View 1 Replieswhat is record length of file in common terms ?
View 1 RepliesI 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]...
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?
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)
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.
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 RelatedI 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.
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 Relatedi'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 Relatedi 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?
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?
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 RelatedI have received a file in CDF V2 format (.pub file extension).
Is there any software available to read this file in Linux (Ubuntu)?
play the live feed on this site with smplayer? [URL]
View 7 Replies View RelatedI 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.
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 Relatedwhen 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?
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]....
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 RelatedCode:
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)
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)
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 Relatedhow 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 RelatedOn my FC14 in /var/log/message i have a lot of erroe about rt_ioctl ..
[Code]....
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 RelatedI 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?
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 RelatedI'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.
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 RelatedI 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