Sponsored Content
Full Discussion: file locations...
Operating Systems Solaris file locations... Post 302266682 by Tornado on Wednesday 10th of December 2008 08:01:23 PM
Old 12-10-2008
file locations...

Hi Guys,

There was a post that I saw here a while ago regarding file system layout and what to put where, which I am unable to find now..

A user here posted a man page that list what each partition should have in it and what it is used for and were you should install custom packages.

ie: The man page listed,
/
/etc
/usr
/opt
/var
/var/opt

etc.....

I can't remember which man page lists this info.

Can anyone help ?
Tornado
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Standard Out to Two Locations

Is it possible to redirect standard output to two locations? Unfortunately, I need to redirect it to two different files. Or if there might be any utilities that can do it. I'm suspecting not as it's all pipes and filters, but thought I'd ask. (2 Replies)
Discussion started by: GaryRudolph
2 Replies

2. Shell Programming and Scripting

Untar files from different locations

Hi all, My tar file exists in directory: /usr/users/rovolis/test1/archive.tar Now from directory: /usr/users/rovolis/ i run the following command tar xvzf /usr/users/rovolis/test1/archive.tar The problem is that the extraction of files is not done Any idea why? Thank you (1 Reply)
Discussion started by: chriss_58
1 Replies

3. Shell Programming and Scripting

Sending a file to 24 Server locations parallely

Hi All, I have to send a processed file to 24 different server locations. I feel, if this job can be done parallel in the background - Time will come down. I found the script to FTP the file for a single server location through past Unix posts as below: #!/usr/bin/ksh ftp -v -n... (16 Replies)
Discussion started by: vsmeruga
16 Replies

4. Programming

Variable storage locations ...

I've got the following two queries: 1) What's the difference in performance if a variable storage is at bss and not at the data section (apart from the initialization to zero in case of data section variables --like static variables). In general, why a developer need to bother about the... (1 Reply)
Discussion started by: Praveen_218
1 Replies

5. UNIX for Advanced & Expert Users

Insert Delimiter at fixed locations in a flat file

Hi Can somebody help me with solution for this PLEASE? I have a flat file and need to insert delimiters at fixed positions in all the lines so that I can easily convert into EXCEL with columns defined as per their width. For Example Here is the file { kkjhdhal sdfewss sdtereetyw... (7 Replies)
Discussion started by: jd_mca
7 Replies

6. Shell Programming and Scripting

Program to insert Delimiters at fixed locations in a file, Can you please Debug it for me??

Can someone please help?I have a file - fixed.txt----------------------------AABBBBCCCCCCDDDEEFFFFGGGGGGHHHIIJJJJKKKKKKLLL----------------------------To insert delimiters at fixed lengths of 2, 4, 6, 3, I created a file text1.txt as-------------------2463----------------------and trying to execute... (10 Replies)
Discussion started by: jd_mca
10 Replies

7. Shell Programming and Scripting

Inserting commas into file at set locations...

Hey everyone. What would be the best method to insert commas (or comma-quotes) into a file at set locations. Every line in the file looks like this: 1234567890123456 123456BIGAUDIODYNAMITE33 123.12 123456 12345678901234MARK E WILLIAMS 123456 The comma's should... (6 Replies)
Discussion started by: Astrocloud
6 Replies

8. UNIX for Dummies Questions & Answers

Edit locations in a file

Hi , I have a file which looks like this source1 LEN predictive 392879 394347 0.955489 + . Name=sa000003.1;ID=sa000003;Alias=sa121751.1; source1 LEN descriptive_1 391082 392878 . . . Parent=sa000003.1;supp_id=.1805.1; ... (3 Replies)
Discussion started by: siya@
3 Replies

9. Shell Programming and Scripting

Writing to two locations at once

I have a backup script that runs on CRON that I developed about 5 years ago. It has always worked perfectly but a recent firmware update on my QNAP TS 259 has seem to break the large file move/copy capability amongst the ESATA drives. I would like to just change my backhup.sh so that writes... (3 Replies)
Discussion started by: mackconsult
3 Replies
hier(5) 							File Formats Manual							   hier(5)

NAME
hier - file system hierarchy DESCRIPTION
The HP-UX file system is a hierarchical tree organized for administrative convenience. Within the file-system tree structure, distinct areas are provided for files that are private to one machine, files that can be shared by machines, and home directories. There are two types of files that are shared: those that can be shared by multiple machines of a common architecture, and those that can be shared by all machines. This organization allows sharable files to be stored on one machine (the server), but accessed by many machines (clients). The following diagram illustrates the file system layout. Note that there are many directories that are not is this diagram, but are dis- cussed below. Diagram of Directory Layout |---- dev | |---- bin |---- etc | |---- bin | |---- ccs ------| |---- usr ------| |---- lib / ----| |---- lib |---- sbin | | |---- sbin |---- var | | |---- lbin |---- home | | |---- include |---- dict |---- opt | | | |---- share -----|---- lib |---- (export) | |---- man The following listing discusses a representative HP-UX directory hierarchy. Some HP-UX applications may add additional directories, which are not shown. / Root directory. /dev Special files (block and character device files); see mknod(1M). /etc Host-specific configuration and administration databases. /etc/opt Directory for application-specific configuration files. (Configuration information for optional packages.) /etc/rc.config.d Startup configuration files. /export Default root of exported file systems. Server only. /home Default root for user directories. /lost+found Storage directory for connecting detached files; for use by fsck(1M). /mnt Mounting point for local file systems. /net Mounting point for remote file systems. /opt Root of subtree for optional application packages. /sbin Essential system commands. Essential commands are defined as executables that are needed to boot the system and mount the file systems. A full complement of utilities is available only after is mounted. /sbin/init.d Startup and shutdown scripts. /sbin/rc0.d Link files to scripts in for entering or leaving run level 0. /sbin/rc1.d Link files to scripts in for entering or leaving run level 1. /sbin/rc2.d Link files to scripts in for entering or leaving run level 2. /sbin/rc3.d Link files to scripts in for entering or leaving run level 3. /stand Standalone binaries and kernel configuration files. /tmp System-generated temporary files; generally cleared during the boot operation. /usr Mount point for sharable user and system administration commands, libraries and documentation. /usr/bin Primary location for common utilities and user commands. /usr/ccs C compilation system. Tools and libraries used to generate C programs. /usr/ccs/bin Development binaries; includes cc, make, strings, etc. /usr/ccs/lib Development libraries. /usr/ccs/lbin Development backends. /usr/conf Kernel configuration files. /usr/contrib Directory for user-contributed (unsupported, internal) commands, files, etc. Files in this directory come from outside the local site or organization (for example, from users groups or HP service engineers). /usr/contrib/bin User-contributed commands. /usr/contrib/include User-contributed include files. /usr/contrib/lib User-contributed libraries. /usr/contrib/man User-contributed man pages. /usr/include Included header files, for C and other programs. Some subdirectories are listed below. /usr/include/machine Machine-specific C include files. /usr/include/nfs C include files for Network File System (NFS). /usr/include/sys Kernel related C-language header files. /usr/lbin Directory for backend executables to other commands. A backend executable is an executable that is generally not invoked directly by the user. /usr/lib Program libraries, object code and architecture-dependent databases. /usr/lib/nls Directory for Native Language Support. /usr/local Directory for site-local commands, files, etc. Files under this directory come from inside the local site or organization. See /usr/contrib for non-local unsupported commands and files. /usr/local/bin Site-local commands. /usr/local/lib Site-local libraries. /usr/local/man Site-local man pages. /usr/newconfig Default operating system configuration data files. This directory is a directory hierarchy mirroring New versions of customizable configuration files and databases are shipped here so as not to overwrite current versions. Files in this directory are copied to regular locations for newly installed systems. System administrators may wish to keep them for later reference. /usr/old Files and programs that are being phased out or are obsolete. /usr/sbin System administration commands. /usr/share Architecture-independent sharable files. /usr/share/dict Dictionaries for spell and ispell. /usr/share/lib Miscellaneous sharable libraries. /usr/share/man Online documentation. /var Root of subtree for "varying" files. These are files that are created at runtime and can grow to an arbitrary size. Some examples include log, temporary, transient, and spool files. /var/adm System administrative files, such as log files and accounting files. Some of the subdirectories are listed below. /var/adm/crash For saving kernel crash dumps. /var/adm/cron Directory for cron(1M) queuing. /var/adm/sw Default location for software distribution depot. /var/adm/syslog Log files generated by syslog. See syslog(3C) and syslogd(1M). /var/mail Incoming mail. /var/news Local-system news articles for news(1). /var/opt Root of subtree for varying files associated with optional software packages. /var/preserve Place where ex(1) and vi(1) save lost edit sessions until recovered. /var/run Files created when daemons are running. For example, the process ID (PID) file for syslogd, syslog.pid, is put here. /var/spool Miscellaneous directories for printer spooling, mail delivery, cron(1M), etc. /var/spool/cron cron(1M) and at(1) spooling files. /var/spool/lp Printer spool files. /var/spool/mqueue Outgoing mail and log files containing messages from the mail system. /var/spool/uucp UUCP spool directory. /var/tmp Application-generated temporary files. This directory generally is not cleared between system reboots. /var/uucp UUCP administration files. DEPENDENCIES
Some directories include commands or files not supported on all HP-UX implementations. SEE ALSO
find(1), grep(1), ls(1), whereis(1). hier(5)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy