file structure

Hi,
Is there a command that can help me to determain a unix file structure ?
Thanks

Tree Homepage

Hi.

I interpreted this as wishing to know more about the contents of a file, whereas rexf apparently thought you were asking about the structure (hierarchy) of the filesystem.

Being more specific will help ... cheers, drl

Hi
Im talking about text file.
For example if the file is comma delimited so it can look like this:
aaa,bbb,ccc,ddd
This is a simple case - but not my case.
My file is delimted somehow else.
How can i understand its structuer. I this there are spaces and tabs involved , but how can i be sure ?
Thanks

Hi.

OK, that's better.

For text files, there are only guesses. Such files are essentially unstructured, as opposed to executable binary files.

You could use command head to visually inspect the file.

If your interest is determining the content automatically, I suggest you first look at man file -- file is a command that attempts to classify files based on content -- then come back to discuss it as necessary ... cheers, drl

Hi,
Im looking for somthing much simple.
The file contain hidden characters like Tabs and so on.
I would like to open the file in the vi editor and to see all the hidden characters.
How this can be done ?
Thanks

man od

man hexdump

'set list' option in VI will display all tabs and end of lines