- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: function defined in /etc/profile
Operating System - Linux
1748265
Members
3853
Online
108760
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2006 02:33 PM
тАО11-01-2006 02:33 PM
Re: function defined in /etc/profile
A more portable solution might be to create a function directory, store the function as a file in this directory and then have /etc/profile export FPATH=/functiondirectory. Now the environment will have a function path available to any script.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Tags:
- FPATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2006 06:50 PM
тАО11-01-2006 06:50 PM
Re: function defined in /etc/profile
>Bill Hassell: A more portable solution ...
Exactly, though the ksh/sh man pages (under Functions) say you should put them in your ENV file. This is a more individual, rather than system wide. And may only work for interactive shells if you use the magic ENV encantation.
Exactly, though the ksh/sh man pages (under Functions) say you should put them in your ENV file. This is a more individual, rather than system wide. And may only work for interactive shells if you use the magic ENV encantation.
- Tags:
- env
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 12:43 AM
тАО11-02-2006 12:43 AM
Re: function defined in /etc/profile
Thanks for all the suggestion. I work around to write a customer script for using cvs command and ask user to use this customer cvs script. One thing I found out through this instance is that hp-ux and redhat linux threat functions that defined in /etc/profile differently.
take easy, enjoy life
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP