what is the diff b/w a file and a dir in Unix

Status
Not open for further replies.

rahul.ims

Right off the assembly line
hi,
please lemme know the diff b/w a dir and a file in unix.....all the diff that u may think of :confused:
 

a_k_s_h_a_y

Dreaming
^^ 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
 

aditya.shevade

Console Junkie
^^ What the hell???

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

Aditya
 

gary4gar

GaurishSharma.com
aditya.shevade said:
^^ What the hell???

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

Aditya





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:*wiki.answers.com/Q/What_is_the_difference_between_Linux_and_Unix
 

aditya.shevade

Console Junkie
^^ 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.
 
OP
rahul.ims

rahul.ims

Right off the assembly line
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...
 

praka123

left this forum longback
aks_win said:
linux is unix man
No.Linux is unix-like! see the wikipedia map:
*upload.wikimedia.org/wikipedia/en/1/11/Unix-history.svg
^^Must See
*en.wikipedia.org/wiki/Unix-like
*en.wikipedia.org/wiki/Unix
 

vish786

"The Gentleman"
rahul.ims said:
hi,
please lemme know the diff b/w a dir and a file in unix.....all the diff that u may think of :confused:
take out ur syllabus text book, Unix Concepts and Applications by DAS. :D
its explained clearly in it. y chumma asking here. :p;)
 

praka123

left this forum longback
aks_win said:
^^ 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.
 

a_k_s_h_a_y

Dreaming
praka123 said:
^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 !
 
OP
rahul.ims

rahul.ims

Right off the assembly line
vish786 said:
take out ur syllabus text book, Unix Concepts and Applications by DAS. :D
its explained clearly in it. y chumma asking here. :p;)

hey man thanx for ur valuable suggestion.....i'll surely try to implement it...:rolleyes:
 
Status
Not open for further replies.
Top Bottom