Sponsored Content
Top Forums UNIX for Dummies Questions & Answers PATH settings don't seem to persist across sessions Post 302559623 by karlochacon on Tuesday 27th of September 2011 05:22:36 PM
Old 09-27-2011
you have to add that to either of these files depending on your linux distro


these are usually under /root

.profile, or .bash_rc or .bash_profile file
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PATH variable settings

The contents of My PATH variable gets printed more than once if get it using the command echo $PATH Is there any way to set it right (5 Replies)
Discussion started by: preyan
5 Replies

2. Solaris

effect of change of mpd preferred path settings

Hello All, In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below: # mpdcontrol -noxlist Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Discussion started by: sundar3350
0 Replies

3. AIX

tuning network parameters : parameters not persist after reboot

Hello, On Aix 5.2, we changed the parameters tcp_keepinit, tcp_keepintvl and tcp_keepidle with the no command. tunrestore -R is present in inittab in the directory /etc/tunables we can clearly see the inclusion of parameters during reboot, including the file lastboot.log ... (0 Replies)
Discussion started by: dantares
0 Replies

4. Shell Programming and Scripting

Find zero byte file but don't need path

Just i want to ask How to search and display name of zero byte file I have used find command but it is showing complete file path Thanks find . -size 0 giving me zero byte file with location 1)/home/user/a (4 Replies)
Discussion started by: vivek1489
4 Replies

5. UNIX for Dummies Questions & Answers

Exceed - Session Persist after shutdown

I'm wondering if it is possible to use Exceed as a remote desktop and have my session persist after I close it down (ala VNC Viewer). I find it annoying to always have to reopen my windows and files when I shut it down. Thanks! (0 Replies)
Discussion started by: dvd7e
0 Replies

6. Solaris

Delete route so it does not persist after reboot

Solaris 10 I am trying to delete a route using the command: route -p delete 192.0.0.0 192.1.3.254 The route gets delete but for some reason the route pops back up in the routing table after reboot. I also deleted the /etc/inet/static_routes file and the route still persists after reboot.... (6 Replies)
Discussion started by: jastanle84
6 Replies

7. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
Jifty::Util(3pm)					User Contributed Perl Documentation					  Jifty::Util(3pm)

NAME
Jifty::Util - Things that don't fit anywhere else DESCRIPTION
absolute_path PATH "absolute_path" converts PATH into an absolute path, relative to the application's root (as determined by "app_root") This can be called as an object or class method. canonicalize_path PATH Takes a "path" style /foo/bar/baz and returns a canonicalized (but not necessarily absolute) version of the path. Always use "/" as the separator, even on platforms which recognizes both "/" and "" as valid separators in PATH. jifty_root Returns the root directory that Jifty has been installed into. Uses %INC to figure out where Jifty.pm is. share_root Returns the 'share' directory of the installed Jifty module. This is currently only used to store the common Mason components, CSS, and JS of Jifty and it's plugins. app_root Returns the application's root path. This is done by returning $ENV{'JIFTY_APP_ROOT'} if it exists. If not, Jifty tries searching upward from the current directory, looking for a directory which contains a "bin/jifty". Failing that, it searches upward from wherever the executable was found. It "die"s if it can only find "/usr" or "/usr/local" which fit these criteria. is_app_root PATH Returns a boolean indicating whether the path passed in is the same path as the app root. Useful if you're recursing up a directory tree and want to stop when you've hit the root. It does not attempt to handle symbolic links. default_app_name Returns the default name of the application. This is the name of the application's root directory, as defined by "app_root". make_path PATH When handed a directory, creates that directory, starting as far up the chain as necessary. (This is what 'mkdir -p' does in your shell). require PATH Uses UNIVERSAL::require to require the provided "PATH". Additionally, logs any failures at the "error" log level. try_to_require Module This method works just like "require", except that it suppresses the error message in cases where the module isn't found. already_required class Helper function to test whether a given class has already been loaded. generate_uuid Generate a new UUID using Data::UUID. reference_to_data Object Provides a saner output format for models than "MyApp::Model::Foo=HASH(0x1800568)". stringify LIST Takes a list of values and forces them into strings. Right now all it does is concatenate them to an empty string, but future versions might be more magical. AUTHOR
Various folks at Best Practical Solutions, LLC. perl v5.14.2 2010-12-08 Jifty::Util(3pm)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy