The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Search attributes in one structure using the values from another structure dhanamurthy High Level Programming 3 03-27-2008 03:37 AM
Not quite related to Unix but CP/M file structure... Legend986 UNIX for Dummies Questions & Answers 3 12-04-2007 10:09 PM
TAR only the file structure Andysundar UNIX for Dummies Questions & Answers 1 10-13-2005 04:06 PM
Copying a Directory Structure to a new structure jhansrod UNIX for Dummies Questions & Answers 8 07-27-2005 06:24 AM
structure of regular file ramyar UNIX for Dummies Questions & Answers 2 12-14-2001 09:32 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-15-2007
yoavbe yoavbe is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 42
file structure

Hi,
Is there a command that can help me to determain a unix file structure ?
Thanks
  #2 (permalink)  
Old 10-15-2007
rexf rexf is offline
Registered User
  
 

Join Date: Aug 2007
Location: 127.0.0.1
Posts: 13
tree

Tree Homepage
  #3 (permalink)  
Old 10-15-2007
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 704
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
  #4 (permalink)  
Old 10-15-2007
yoavbe yoavbe is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 42
file structuer details

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
  #5 (permalink)  
Old 10-15-2007
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 704
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
  #6 (permalink)  
Old 10-16-2007
yoavbe yoavbe is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 42
File structure

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
  #7 (permalink)  
Old 10-16-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
man od

man hexdump
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0