This is a discussion on How to export directoies in freeBSD within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi I need to export some directpry path like below: var1=/<>/<>/<> export var1 This is my basic idea. I tried ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi
I need to export some directpry path like below: var1=/<>/<>/<> export var1 This is my basic idea. I tried export var1=/<>/<>/<> after executing this in a shell i did an echo of the var1. But nothing happened. Can you please help me with this. I need to srite a script to export multiple directory files.. Thanks in advance ![]() |
| Sponsored Links | ||
|
|
|
||||
|
Use following for bash / sh
Code:
export PATH=$PATH:/dir1:/dir2 echo $PATH Code:
setenv PATH $PATH:/dir1:/dir2 echo $PATH
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't export the windows ntfs partition using nfs | linuxnightowl84 | Networking, Firewalls and Security | 4 | 04-29-2007 04:40 PM |