11-12-2009
Converting binary file to readable format in Ksh
In Unix/Ksh, when I try to look inside a file it says that the file may be a binary file and if I want to see it anyway. When i say 'yes', it shows me the content filled with unreadable symbols (looks like binary). Is there a command that I can run from the Unix prompt to convert/translate that binary file (data) into a readable format?
Thanks much.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
2. Programming
hi everyone, im new here and am in desperate need of help. I want to convert my 32 bit unix time stamp ' 45d732f6' into a readable format (Sat, 17 February 2007 16:53:10 UTC) using c++.
I have looked around the interent but i just cant make sense of anything. All examples i can find just... (3 Replies)
Discussion started by: uselessprog
3 Replies
3. HP-UX
Hi,
Files coming to mailbox are in readable format?
Is there any special command to read these files.
suppose i have sent a file like this
megh$mailx -s "mesg" xyz@server.domain<file1.dat
can xyz directly read the file from his mailbox? (1 Reply)
Discussion started by: megh
1 Replies
4. Shell Programming and Scripting
i want to check the readability of a file inside the script.
when i use
if
then
echo the file "$sourcef" is not readable
else
echo something
fi
i am getting the error : f: unknown test operator
when i tried to check the availability with
if
i was... (3 Replies)
Discussion started by: gotam
3 Replies
5. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
6. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
7. Shell Programming and Scripting
Hi All,
I have a binary file which is being exported from a Database, and i need to convert that to ASCII format. How can i achieve that? And this solution should work for any file which is given to us; means they will give different files from different tables.
Thanks in advance. (8 Replies)
Discussion started by: baranisachin
8 Replies
8. Shell Programming and Scripting
I am trying to create a script that will take epoch (input from command line) and convert it into a readable format in bash/shell
---------- Post updated at 08:03 PM ---------- Previous update was at 07:59 PM ----------
#!bin/bash
read -p "Please enter a number to represent epoch time:"... (9 Replies)
Discussion started by: sprocket
9 Replies
9. Shell Programming and Scripting
Hello I have a file : file1.txt with the below contents :
237176 test1 test2 1442149024
237138 test3 test4 1442121300
237171 test5 test7 1442112823
237145 test9 test10 1442109600
In the above file fourth field represents the timestamp in Unix format.
I found a command which converts... (6 Replies)
Discussion started by: rahul2662
6 Replies
10. Programming
Scripting Language: bash shell script, python
I want to parse .nessus file in human readable format. If any one have any ideas please help me. (2 Replies)
Discussion started by: sk151993
2 Replies
LEARN ABOUT DEBIAN
teeworlds
Teeworlds(6) Teeworlds(6)
NAME
teeworlds - Teeworlds Client
SYNOPSIS
teeworlds ["option value"]...
DESCRIPTION
This manual page documents briefly the teeworlds command.
teeworlds is the Teeworlds client. It is an online multi-player platform 2D shooter.
OPTIONS
(Note that this is not a full list!)
bind key command [value]
exec configfile
connect server:port
player_name <string>
password <string>
logfile <string>
cl_cpu_throttle <binary>
cl_editor <binary>
b_filter_string <string>
b_filter_full <binary>
b_filter_empty <binary>
b_filter_pw <binary>
b_filter_ping <binary>
b_filter_gametype <integer>
b_filter_compatversion <binary>
b_sort <integer>
b_sort_order <binary>
b_max_requests <integer>
snd_rate <integer>
snd_enable <binary>
snd_volume <integer>
snd_noactive_mute <binary>
gfx_screen_width <integer>
gfx_screen_height <integer>
gfx_fullscreen <binary>
gfx_color_depth <integer>
gfx_clear <binary>
gfx_vsync <binary>
gfx_display_all_modes <binary>
gfx_texture_compression <binary>
gfx_high_detail <binary>
gfx_texture_quality <binary>
gfx_fsaa_samples <integer>
gfx_refresh_rate <integer>
gfx_debug_resizable <binary>
inp_mousesens <integer>
debug <binary>
cl_predict <binary>
cl_nameplates <binary>
cl_nameplates_always <binary>
cl_autoswitch_weapons <binary>
cl_showfps <binary>
cl_airjumpindicator <binary>
cl_threadsoundloading <binary>
cl_warning_tuning <binary>
cl_mouse_deadzone <integer>
cl_mouse_followfactor <integer>
cl_mouse_max_distance <integer>
cl_motd_time <integer>
ed_showkeys <binary>
cl_flow <binary>
cl_show_welcome <binary>
player_user_custom_color <binary>
player_color_body <integer>
player_color_feet <integer>
player_skin <integer>
dbg_tuning <binary>
ui_page <integer>
ui_server_addess <string>
ui_scale <integer>
ui_color_hue <integer>
ui_color_sat <integer>
ui_color_lht <integer>
ui_color_alpha <integer>
SEE ALSO
teeworlds-server(6)
AUTHOR
Teeworlds was written by Magnus Auvinen.
This manual page was written by Jack "jscinoz" Coulter <jscinoz@gmail.com> for the Debian project (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
April 14 , 2008 Teeworlds(6)