 |
11-09-2007, 07:51 PM
|
#1 (permalink)
|
|
Right Off the Assembly Line
Join Date: Jul 2007
Posts: 7
|
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
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
11-09-2007, 07:54 PM
|
#2 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
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/
|
|
|
12-09-2007, 01:31 AM
|
#3 (permalink)
|
|
Console Junkie
Join Date: Jun 2006
Location: USA
Posts: 991
|
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
|
|
|
12-09-2007, 01:26 PM
|
#4 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
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
|
|
|
12-09-2007, 05:05 PM
|
#5 (permalink)
|
|
Console Junkie
Join Date: Jun 2006
Location: USA
Posts: 991
|
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
|
|
|
12-09-2007, 05:07 PM
|
#6 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
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/
|
|
|
12-09-2007, 05:33 PM
|
#7 (permalink)
|
|
Right Off the Assembly Line
Join Date: Jul 2007
Posts: 7
|
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
|
|
|
12-09-2007, 05:48 PM
|
#8 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: what is the diff b/w a file and a dir in Unix
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
12-09-2007, 06:57 PM
|
#9 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
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/
|
|
|
12-09-2007, 07:01 PM
|
#10 (permalink)
|
|
"The Gentleman"
Join Date: Sep 2006
Posts: 1,434
|
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
|
|
|
12-09-2007, 07:01 PM
|
#11 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
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
|
|
|
12-09-2007, 11:05 PM
|
#12 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
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/
|
|
|
13-09-2007, 04:09 PM
|
#13 (permalink)
|
|
Right Off the Assembly Line
Join Date: Jul 2007
Posts: 7
|
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
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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 |
|
|
|