Sponsored Content
Full Discussion: Binary files
Top Forums Shell Programming and Scripting Binary files Post 302507004 by smurf4568 on Tuesday 22nd of March 2011 01:08:16 PM
Old 03-22-2011
"strings" will show you the printable contents of a binary file - depending on what it is you want to find out..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Binary Files

Does any one know how to view a binary file as it is (in 1s and 0s) on unix environment? (1 Reply)
Discussion started by: devildivine
1 Replies

2. UNIX for Dummies Questions & Answers

Binary Files

Here's the problem... I'm using a simulator on UNIX, and it requires a filename where bits are stored, it should read them out and do whatever with them at that point.. So what i'm trying to do is make a binary file on UNIX. On my PC i can use MSDEV, or any of my C++ compilers to generate a... (2 Replies)
Discussion started by: wcRandThor
2 Replies

3. UNIX for Advanced & Expert Users

Files Linked With A Binary

Hi, What is command in unix to find what are all the files linked with an executable binary. Thanks in advance. Rgds, Omkumar (2 Replies)
Discussion started by: tc.omkumar
2 Replies

4. UNIX for Dummies Questions & Answers

Joining two or more binary files together

Is there a way to join two or more binary files together without corrupting the data? I've searched the forums, and googled etc. but the only commands that get mentioned are 'cat', which only works for text files and 'join'. According to the man pages join is a 'relational database operator',... (5 Replies)
Discussion started by: Boothy
5 Replies

5. Shell Programming and Scripting

search for files excluding binary files

Hi All, I need a solution on my following find command find ./.. -name '*.file' -print BTW This gives me the output as belows ./rtlsim/test/ADCONV0/infile/ad0_dagctst.file ./rtlsim/test/ADCONV0/user_command.file ./rtlsim/test/ADCONV0/simv.daidir/scsim.db.dir/scsim.db.file... (2 Replies)
Discussion started by: user_prady
2 Replies

6. Shell Programming and Scripting

Reg : binary files

HI Friends, My actual requirement is to find out the binary files except txt/gif from parent and subdirectories. so,i have to write unix shell script. Any one please suggest me on this how to write script for this or any other alternate way is there to find out. Thanks & Regards, Srujana (13 Replies)
Discussion started by: srujana
13 Replies

7. UNIX for Dummies Questions & Answers

Comparison between binary files

Hello, I would like to know if we can compare binary(non text) files in unix eg. exes Thanks Saurabh (3 Replies)
Discussion started by: smehra_20
3 Replies

8. Programming

Editing binary files

I am working in C and need a solution for below problem: I have a binary file, which needs to be edited in such a way no data is loss. For example i have to insert 3 bytes of data at some position without changing the contents of the file. if file has data as:... (2 Replies)
Discussion started by: junaid.nehvi
2 Replies

9. Programming

reading binary files

#include <stdio.h> /* typedef struct { char name; int number; float balance; } acct_info_t; */ int main() { FILE *fptr; fptr = fopen("acct_info", "r"); int magic = 5; fseek(fptr,3,SEEK_SET); fread(&magic,sizeof(int),1,fptr);... (7 Replies)
Discussion started by: robin_simple
7 Replies

10. UNIX for Advanced & Expert Users

Binary files diff

Hi I am very happy to joined this group!!! I need your suggestion for get it resolved my issue. I have two class files both class files are same, there is no diff in both two files. Both 2 files were compiled in Linux environment with different type of OS. When i am using diff command,... (13 Replies)
Discussion started by: suresh1256644
13 Replies
Sockets.recvBytes(3kaya)				       Kaya module reference					  Sockets.recvBytes(3kaya)

NAME
Sockets::recvBytes - Receive binary data from a socket SYNOPSIS
Binary recvBytes( Socket s, Int maxlen=1024, Int timeout=1000000 ) ARGUMENTS
s The socket maxlen The maximum number of bytes to receive. This must be a positive integer (the default is 1024) timeout The time to wait for data in microseconds before giving up (the default is 1000000, or 1 second) DESCRIPTION
Receive binary data from a socket. AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. RELATED
Binary.Binary(3kaya) Sockets.Socket(3kaya) Sockets.pending(3kaya) Sockets.sendBytes(3kaya) Sockets.recv(3kaya) Sockets.recvByte(3kaya) Kaya October 2012 Sockets.recvBytes(3kaya)
All times are GMT -4. The time now is 10:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy