02-07-2007
Comsidering the extention of the file (.dat) I doubt they are plain text files. Allthough any extention can be given to a file in Unix, it is not common to use it for plain text files.
The following command could provide you some info about that kind of files they are:
file <filename>
or just
file *
So "file" is a command here and not a reference to a file, <filename> is one of those .dat files.
To see if there is any ascii content at all in those files you can use the command:
strings <filename>
How were these files created? By some kind of application? If so, which application?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I have one query. Say I have one script named test.sh.
My Question: There is any method by which I can make this script (test.sh)
non-human readable( like Encrypt) format as well as it should be executable also(mean to say it (test.sh) should not change its behaviour).
Thanks... (3 Replies)
Discussion started by: SanjayLinux
3 Replies
2. UNIX for Dummies Questions & Answers
I am trying to parse emails sent from a blackberry. I am using fetchmail to download email through IMAP from my exchange server and then forward to local Linux mail. (This part works fine.)
When viewing and saving messages sent as plain text from Outlook, everything works fine. However, when... (1 Reply)
Discussion started by: Squeakygoose
1 Replies
3. Red Hat
hi all,
i executed this command "pstree" on redhat ent 4 and i got this below with unreadable chars:
init─┬─acpid
â”─amqzxma0─┬─amqrrmfa
│ â”─amqzdmaa
│ â”─amqzfuma
│ â”─5*
│ â”─amqzmgr0─┬─amqpcsea
│ │ ... (2 Replies)
Discussion started by: itik
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
can someone explain what does this mean and why does this happen? i had this problem last week, and Unix admin said that he has to rebuild the file system. Now i am getting this error again.
aaaa% ls
. unreadable
:mad: (7 Replies)
Discussion started by: treneryy
7 Replies
5. Shell Programming and Scripting
I have a file like this 07200900.SUP,in a windows directory I need to FTP this file to UNIX , the directory in unix is N:\orgs\Financial Aid\MIIS\0910\FTP
I am getting this error
miis_ftp.ELM_SUP.shl: =cd orgs/"Financial Aid"/"MIIS"/"0910"/"FTP" : not found
IN THE LOG FILE
Activities for Mon... (3 Replies)
Discussion started by: rechever
3 Replies
6. Shell Programming and Scripting
I will appreciate any help with this...
I have a file in this directory that looks like: this
07210900.SUP, I am getting the following error:
Activities for Tue Jul 21 07:29:14 EDT 2009:
File 07210900.SUP does not exist or unreadable
End of activities
The idea is to capture the file in... (1 Reply)
Discussion started by: rechever
1 Replies
7. Filesystems, Disks and Memory
I found a document: Bad block HOWTO for smartmontools
My hard drive is Maxtor:
root]# fdisk -lu /dev/hda
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x3f4e3f4d
... (0 Replies)
Discussion started by: justinian
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I developed a java application in Windows and transferred it to a HP-UX environment(using WinSCP) for deployment.
I used "chmod 777 ..." for granting rights to the files.
After I did this, whenever I go into that directory(or it's immediate parent directory) and hit "ls"......it... (4 Replies)
Discussion started by: agnivaccent
4 Replies
9. UNIX and Linux Applications
Can anyone explain why a editable pdf becomes unreadable after edited with okular? (5 Replies)
Discussion started by: cokedude
5 Replies
10. AIX
Hello Folks,
I have got this message:
When I contacted support, they said this is logical filesystem error and it has to do with the filesystem. How can I find out ? (1 Reply)
Discussion started by: filosophizer
1 Replies
LEARN ABOUT DEBIAN
ns_guesstype
ns_guesstype(3aolserver) AOLserver Built-In Commands ns_guesstype(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_guesstype - commands
SYNOPSIS
ns_guesstype filename
_________________________________________________________________
DESCRIPTION
This command guesses and returns the MIME type of filename, based on the file extention. It has an extensive set of default mappings. You
can also add your own mappings in the "ns/server/servername/mimetype" section of the config file.
MIMETYPES
The following extentions and mimetypes are the default maps.
.adp text/html
.ai application/postscript
.aif audio/aiff
.aifc audio/aiff
.aiff audio/aiff
.ani application/x-navi-animation
.art image/x-art
.au audio/basic
.avi video/x-msvideo
.bin application/x-macbinary
.bmp image/bmp
.css text/css
.csv application/csv
.dci text/html
.dcr application/x-director
.dir application/x-director
.dp application/commonground
.dxr application/x-director
.elm text/plain
.eml text/plain
.exe application/octet-stream
.gbt text/plain
.gif image/gif
.gz application/x-compressed
.hqx application/mac-binhex40
.htm text/html
.html text/html
.jfif image/jpeg
.jpe image/jpeg
.jpg image/jpeg
.jpeg image/jpeg
.js application/x-javascript
.ls application/x-javascript
.map application/x-navimap
.mid audio/x-midi
.midi audio/x-midi
.mocha application/x-javascript
.mov video/quicktime
.mpe video/mpeg
.mpeg video/mpeg
.mpg video/mpeg
.nvd application/x-navidoc
.nvm application/x-navimap
.pbm image/x-portable-bitmap
.pdf application/pdf
.pgm image/x-portable-graymap
.pic image/pict
.pict image/pict
.pnm image/x-portable-anymap
.png image/png
.ps application/postscript
.qt video/quicktime
.ra audio/x-pn-realaudio
.ram audio/x-pn-realaudio
.ras image/x-cmu-raster
.rgb image/x-rgb
.rtf application/rtf
.sht text/html
.shtml text/html
.sit application/x-stuffit
.snd audio/basic
.sql application/x-sql
.stl application/x-navistyle
.tar application/x-tar
.tcl text/plain
.text text/plain
.tgz application/x-compressed
.tif image/tiff
.tiff image/tiff
.txt text/plain
.xbm image/x-xbitmap
.xpm image/x-xpixmap
.vrml x-world/x-vrml
.wav audio/x-wav
.wrl x-world/x-vrml
.z application/x-compressed
.zip application/x-zip-compressed
SEE ALSO
nsd(1), info(n), ns_return(n)
KEYWORDS
mime
AOLserver 4.0 ns_guesstype(3aolserver)