Understanding File System


 
Thread Tools Search this Thread
Operating Systems HP-UX Understanding File System
# 1  
Old 06-02-2008
Understanding File System

Hey guys im confused with the difference of these filesystems /bin, /sbin, /usr/bin, /usr/sbin. They all look like the same.
# 2  
Old 06-02-2008
Bug

" Hey guys im confused with the difference of these filesystems /bin, /sbin, /usr/bin, /usr/sbin. They all look like the same."

/sbin - contains system binaries which are required at the time of boot. Like most of scripts which start services/processes. For e.g. /sbin/init.d/net which set IP configuration and hostname for the server.

/usr/bin - user level commands/binaries

/usr/sbin - root level commands/binaries

/bin ?? Never seen any directory in /
# 3  
Old 06-02-2008
Quote:
Originally Posted by Adams Nave
" Hey guys im confused with the difference of these filesystems /bin, /sbin, /usr/bin, /usr/sbin. They all look like the same."

/sbin - contains system binaries which are required at the time of boot. Like most of scripts which start services/processes. For e.g. /sbin/init.d/net which set IP configuration and hostname for the server.

/usr/bin - user level commands/binaries

/usr/sbin - root level commands/binaries

/bin ?? Never seen any directory in /
Haha, thanks Adams, it took me nearly 8 years now to finally know whats in there ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Need little help in understanding UNIX file system.

statement 1 : I see everyone saying Unix follows a tree like hierarchial structure. Statement 2: Unix file system has four blocks 1.boot block 2.super block 3.inodes 4.data block My question is , in which of the above four blocks , the hierarchial structure comes.?? How could we corelate... (2 Replies)
Discussion started by: Narendra Eliset
2 Replies

2. Programming

Best reference for understanding core file and debugging for different architectures

Hi , could someone suggest best reference for core file understanding , analysis , debugging for different architectures like what registers represent what in a architecture specific core .. how to get maximum information out of corrupted core different tools and how they work and how to... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

3. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

4. UNIX for Dummies Questions & Answers

Understanding File System

Can anybody provide me some good articles / links which will help me understand linux file system internals? I want to understand how a file when accessed from user mode through its file name resolves to particular memory location on memory. Where does the super, dentry and inodes come into... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

5. Homework & Coursework Questions

trouble understanding file option and command line arguments

Hi, I am creating a program with the C language that simulates the WC command in Unix. My program needs to count lines, bytes and words. I have not added the code to count bytes and words yet. I am having trouble understanding what the file option/flag '-' does. I can not visualize how it moves... (1 Reply)
Discussion started by: heywoodfloyd
1 Replies

6. Homework & Coursework Questions

fork system call understanding

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: i have a problem in understanding the behaviour of fork . i understood fork as to create a new process and... (4 Replies)
Discussion started by: MrUser
4 Replies

7. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

8. Linux

Understanding a diff file

Hi folks, I am having difficulties in understanding diff file. I would like to know what the following means in a diff file ex: 202a251,253 1,102c120,126 I believe 'a' will be 'append'. Line 202 appended to line 251. but why there is 253 ???. Like the above if any one can tell me how... (2 Replies)
Discussion started by: frozensmilz
2 Replies

9. UNIX for Dummies Questions & Answers

Understanding System Vish startup scripts

I'm trying to get a clear picture of how startup scripts are executed during bootup. When run-level N is entered, the scripts in /rcN.d are executed. I understand that the S* scripts are executed in numerical order during bootup. What I don't understand is if the K* scripts are executed... (0 Replies)
Discussion started by: darkmatter14B
0 Replies

10. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
Login or Register to Ask a Question