Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Alphabet and numeric values repeat again and again on HDD/Linux-Ubuntu Post 302583110 by jim mcnamara on Monday 19th of December 2011 02:57:58 PM
Old 12-19-2011
executable image files may look like that in an editor, you are probably seeing the data segment of an executable.

What exactly are you trying to do - not what you did?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

stripping out non-numeric values in a list

hi all, i'm very new to scripting and have the folllowing issue. I have used a few commands to get a list of numbers, but I need to strip away the non-numeric ones, and then need a total of all values. any ideas? root@unixserver # cat myfile | awk '{print $8}'| sort -rn 1504 1344 896 704... (2 Replies)
Discussion started by: badoshi
2 Replies

2. Shell Programming and Scripting

Remove non numeric values from a variable

Hello all, I am working on a basic script but need a little help. Issue: I am running a SQL Query using sqlplus and a shell script. I have the output of the statement stored as variable $A. $A is set to "other text here 45678754 other text here". I need to strip all text except that numeric... (13 Replies)
Discussion started by: ownedthawte
13 Replies

3. Programming

numeric values ending in 'U'

I am getting back on the C++ programming after many years away. I recently received an SDK that has code like this where numeric values end in 'U'. What does this mean? if ((ptr % 16U) == 0U) return buffer; (3 Replies)
Discussion started by: sneakyimp
3 Replies

4. Shell Programming and Scripting

How to check if the file contains only numeric values

How to check if the file contains only numeric values. I don't want to read entire file it eats lot of cpu Or any way which consumes less memory n cpu.. Please suggest -S (2 Replies)
Discussion started by: sunilmenhdiratt
2 Replies

5. Shell Programming and Scripting

how to grep only particular length of numeric values

hi i have two types of file 1. temp.0000000001.data (10 digit numeric) 2. temp.000000001.data (9 digit numeric) i want to search a file which is having 10 digit numeric in between the file name. i use command like this.. ls | grep temp.^*.data but this will give both the files as... (2 Replies)
Discussion started by: somi2yoga
2 Replies

6. UNIX for Advanced & Expert Users

calculate logical layout values for hdd

Please advice me how to calculate logical layout values in hdd from below table. Physical Layout ----------------- Bytes per Sector : 512 Sectors per Track : 480-1272 Number of Heads : 4 Number of Disks : 2 Logical Layout --------------- Number of Heads : 16 Number of Sectors /... (9 Replies)
Discussion started by: presul
9 Replies

7. Ubuntu

Can't successfully clone an HDD in Ubuntu, please help

Hi guys, I am total newbie to Linux / Ubuntu but trying it to solve the problem I have. I have an OKI printer with bad HDD and trying to clone one from the same HDD from working printer. Board it goes on has a Fiery chipset and system used is Linux based / related - to the best of my knowlege. I... (12 Replies)
Discussion started by: Unlimitedbt
12 Replies

8. UNIX for Dummies Questions & Answers

Only print lines with 3 numeric values

Hey guys & gals, I am hoping for some advice on a sed or awk command that will allow to only print lines from a file that contain 3 numeric values. From previous searches here I saw that ygemici used the sed command to remove lines containing more than 3 numeric values ; however how... (3 Replies)
Discussion started by: TAPE
3 Replies

9. Shell Programming and Scripting

Assigning numeric values to variable

I have a code like this v_num=9 comp_num=39 if then echo "pass" fi echo "end" I am getting an error ksh: v_num=99 comp_num=39 if then echo "pass" fi echo "end" (3 Replies)
Discussion started by: swayam123
3 Replies

10. UNIX for Advanced & Expert Users

Sort by second column numeric values

From googling and reading man pages I figured out this sorts the first column by numeric values. sort -g -k 1,1 Why does the -n option not work? The man pages were a bit confusing. And what if I want to sort the second column numerically? I haven't been able to figure that out. The file... (7 Replies)
Discussion started by: cokedude
7 Replies
ostrip(1)						      General Commands Manual							 ostrip(1)

NAME
ostrip - Reduce the size of object files SYNOPSIS
ostrip [options] file... OPTIONS
The following options are supported by the ostrip command: Removes the section of a linked image. Removes unreferenced symbols and unused type information from the symbol tables of a pre-link file. This results in a smaller on-disk executable file. If files modified with this option are subsequently linked, ostrip -m should be run on the linked image. Joins together two files that were previously split by the -t option into a symbol table file (image.stb) and a stripped image file (image). Removes unreferenced symbols and unused type information for the symbol tables of a post-link executable file. This results in a smaller on-disk executable file. The symbol table still contains all information required for debugging. Decompresses the output of ostrip. This option is provided for cases in which the input file is compressed in ALPHAMAGICZ format. Removes the symbol table and any strippable subsections of the section. (Performs the same operations as the strip command.) Splits an image file (image) into a symbol table file (image.stb) and a stripped image file (image). The symbol table file will contain a checksum of the stripped image. Displays the version of the ostrip command. Produces a reduced symbol table by remov- ing local information. Also deletes any locally strippable subsections of the section. (Performs the same operations as the ld -x com- mand.) Compresses the output of ostrip into ALPHAMAGICZ format. DESCRIPTION
The ostrip command reduces the components of any object file based on the options that are specified. It is designed to work with any object file, that is, files, image files, and shared object files. It does not work with (archive) files. RESTRICTIONS
None. EXAMPLES
The following command strips the local symbol table and converts the object file into ALPHAMAGICZ format: ostrip -x -Z obj.o The following command produces the symbol table file osize_mm.stb and the stripped image file osize.mm: ostrip -t osize.mm The following command joins the symbol table file osize_mm.stb to osize.mm: ostrip -j osize.mm SEE ALSO
Commands: strip(1), ld(1), mcs(1), objZ(1) ostrip(1)
All times are GMT -4. The time now is 09:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy