Forum     

Go Back   Digit Technology Discussion Forum > Bandwidth Wastage > Chit-Chat
Register FAQ Calendar Mark Forums Read

Chit-Chat General discussions about anything that doesn't fit into the other sections to be had here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-09-2007, 07:51 PM   #1 (permalink)
Right Off the Assembly Line
 
rahul.ims's Avatar
 
Join Date: Jul 2007
Posts: 7
Arrow what is the diff b/w a file and a dir in Unix


hi,
please lemme know the diff b/w a dir and a file in unix.....all the diff that u may think of
__________________
Try not to become a man of success but rather to become a man of value - Albert Einstein
rahul.ims is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-09-2007, 07:54 PM   #2 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,921
Default Re: what is the diff b/w a file and a dir in Unix

^^ u studying unix for internals ??
which college ??
tom i hv unix internals !

and there is no diff b/w file and dir
everything in unix is file

ok am not sure am unix newb but this is my imagination !!


dir is some special file
i think it points to location of files to which it is supposed to point at
means the files in it....which again will be there somewhere in hdd
but this dir file stores what files to list when its opened
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is online now  
Old 12-09-2007, 01:31 AM   #3 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: what is the diff b/w a file and a dir in Unix

^^ What the hell???

I am correct in believing, from the post above, that Unix and Linux are from 2 different planets?

Aditya
__________________
--- Console Junkie
aditya.shevade is offline  
Old 12-09-2007, 01:26 PM   #4 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by aditya.shevade
^^ What the hell???

I am correct in believing, from the post above, that Unix and Linux are from 2 different planets?

Aditya




Quote:
Unix :

A Operating System developed in olden days in which kernel interacts directly with the hardware.kernal is consider to be heart of this os.

In this Operating system everything is considered as a file,provides greater security.

Ex: posix

Linux :

Linux is an Operating system which use unix as its base and gives further more facilities and applications.

Merely speeking GUI is made in linux having unix as its core.
linux & unix are simlar Operating system to an extent
for more:http://wiki.answers.com/Q/What_is_th...Linux_and_Unix
gary4gar is offline  
Old 12-09-2007, 05:05 PM   #5 (permalink)
Console Junkie
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 991
Default Re: what is the diff b/w a file and a dir in Unix

^^ I know a little (a little more than that).... I just wrote the first post to indicate that from the answer given by ask_win, I could understand nothing.
__________________
--- Console Junkie
aditya.shevade is offline  
Old 12-09-2007, 05:07 PM   #6 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,921
Default Re: what is the diff b/w a file and a dir in Unix

linux is unix man
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is online now  
Old 12-09-2007, 05:33 PM   #7 (permalink)
Right Off the Assembly Line
 
rahul.ims's Avatar
 
Join Date: Jul 2007
Posts: 7
Default Re: what is the diff b/w a file and a dir in Unix

hey m not asking is linux is unix or not???...
what i meant to ask was....is there ne diff in files and dirs in unix???...
u may find that everything is a file, if u read the books..
but what i have seen is...
by default...dir have a permission of 755 and files have 644..
if everything is file in unix then why a variation in the permission..
if u see dirs have a slash after there name but files do not have...
please try to find out little more diff if any...
i din't have any internals but i jus wanna know...
__________________
Try not to become a man of success but rather to become a man of value - Albert Einstein
rahul.ims is offline  
Old 12-09-2007, 05:48 PM   #8 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Lightbulb Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by aks_win
linux is unix man
No.Linux is unix-like! see the wikipedia map:
http://upload.wikimedia.org/wikipedi...ix-history.svg
^^Must See
http://en.wikipedia.org/wiki/Unix-like
http://en.wikipedia.org/wiki/Unix
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 12-09-2007, 06:57 PM   #9 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,921
Default Re: what is the diff b/w a file and a dir in Unix

^^ i read that linux uses same kernel as that of unix
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is online now  
Old 12-09-2007, 07:01 PM   #10 (permalink)
"The Gentleman"
 
vish786's Avatar
 
Join Date: Sep 2006
Posts: 1,434
Post Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by rahul.ims
hi,
please lemme know the diff b/w a dir and a file in unix.....all the diff that u may think of
take out ur syllabus text book, Unix Concepts and Applications by DAS.
its explained clearly in it. y chumma asking here.
__________________
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
- Dijkstra
vish786 is offline  
Old 12-09-2007, 07:01 PM   #11 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Thumbs down Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by aks_win
^^ i read that linux uses same kernel as that of unix
^wth?wtf?Linux is the kernel dude!UNIX is a trademark owned by opengroup now.may be MAC OS X,BSDs are UNIX.but linux or minix are unix-like systems only.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 12-09-2007, 11:05 PM   #12 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,921
Default Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by praka123
^wth?wtf?Linux is the kernel dude!UNIX is a trademark owned by opengroup now.may be MAC OS X,BSDs are UNIX.but linux or minix are unix-like systems only.
ok i did not know
but man this is what exactly i read in a famous book
unix concept by sumitabha das

" The reason why linux can't replace unix is that linux uses the same system calls; Linux is UNIX. "

i said kernel that's a mistake... ok now what abt this ??
tell me where to study unix from ?? also linux !
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is online now  
Old 13-09-2007, 04:09 PM   #13 (permalink)
Right Off the Assembly Line
 
rahul.ims's Avatar
 
Join Date: Jul 2007
Posts: 7
Default Re: what is the diff b/w a file and a dir in Unix

Quote:
Originally Posted by vish786
take out ur syllabus text book, Unix Concepts and Applications by DAS.
its explained clearly in it. y chumma asking here.
hey man thanx for ur valuable suggestion.....i'll surely try to implement it...
__________________
Try not to become a man of success but rather to become a man of value - Albert Einstein
rahul.ims is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
C & Unix Matrix Programming 3 09-09-2006 01:14 AM
UNIX ECE0105 Open Source 36 27-08-2005 05:05 PM
unix imported_renault QnA (read only) 2 19-05-2005 07:56 PM

 
Latest Threads
- by Who
- by Tenida
- by bhaskar
- by Charan
- by Deepaks

Advertisement




All times are GMT +5.5. The time now is 10:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2