Sponsored Content
Full Discussion: Understanding File System
Operating Systems HP-UX Understanding File System Post 302201468 by andryk on Monday 2nd of June 2008 10:10:53 AM
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 ...
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
iprsetup(8)						      System Manager's Manual						       iprsetup(8)

NAME
iprsetup - Internet Protocol router setup SYNOPSIS
/usr/sbin/iprsetup -s /usr/sbin/iprsetup -sd /usr/sbin/iprsetup -r /usr/sbin/iprsetup -rd /usr/sbin/iprsetup -fvalue /usr/sbin/iprsetup -fvalued /usr/sbin/iprsetup -d OPTIONS
Sets ipforwarding and ipgateway to one, which means the system functions as an IP router. This option cannot be combined with the -r option. Resets ipforwarding and ipgateway to zero, which means the system does not function as an IP router. This option cannot be com- bined with the -s and -f options. Sets ipforwarding and ipgateway to one (like the -s option), and also sets ipfirewall to one, which means the system functions as an IP firewall. Additionally, sets ipsrcroute and ipchkredirects according to the specified value. The fol- lowing table shows the valid values and their meaning: ---------------------------------------------------------- Value Meaning ---------------------------------------------------------- 0 Sets both ipsrcroute and ipchkredirects to zero 1 Sets ipsrcroute to zero and ipchkredirects to one 2 Sets ipsrcroute to one and ipchkredirects to zero 3 Sets both ipsrcroute and ipchkredirects to one ---------------------------------------------------------- This option cannot be combined with the -r option. Only application gateways for firewall services use this option. Displays the values of ipforwarding and ipgateway. The values are displayed after the values are changed when combined with the -s, -r, and -f options. DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in the running kernel allowing your system to function as an Internet Protocol router. When ipfirewall variable is set to one, the following variables are also set: Indicates whether IP source-routed packets are accepted (1) or dropped immediately (0). Indicates whether ICMP Redirect messages are authenticated (1) or accepted with no authentication (0). The iprsetup command is automatically executed by netsetup when you configure your network daemons. It is also executed by the /sbin/init.d/inet script when you reboot your system or restart the network on your system. FILES
Contains the /usr/sbin/iprsetup command Contains the /usr/sbin/iprsetup command SEE ALSO
Network Administration iprsetup(8)
All times are GMT -4. The time now is 08:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy