10-06-2014
Thank you.
I noticed that there are some scripts ending with 'sh' and some are with '.ksh'. If we change the profile name from .bash_profile to .profile, will there by any impact on the .sh scripts?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Discussion started by: yls177
4 Replies
2. Shell Programming and Scripting
Hi Guys,
I modified my .bash_profile script , and tried to change the prompt.
Following is the line of code in my .bash_profile script.
export PS1=" \W "
But I get the output as:
\W
This appears to be my prompt now.
Any idea what should be done..
Thanks! (0 Replies)
Discussion started by: nua7
0 Replies
3. Shell Programming and Scripting
We are more users using the oracle account, and people want to include theyr own files in .bash_profile. Like this:
while ; do
echo -n "LOGNAME is '$LOGNAME' (no sens), who are you? " >/dev/stderr
read ln
export LOGNAME=$ln
done
This works well when logging in to... (1 Reply)
Discussion started by: hannem
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all. when i connect as user megaguru i have a problem my .bash_profile does not working^:(
if i do:
. ./.bash_profile
all enviroment variables are in place. How can i force linux to use .bash_profile before logon process?
thanx in advance. (1 Reply)
Discussion started by: smallman
1 Replies
5. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
6. UNIX for Advanced & Expert Users
Hi,
happy new year.
on AIX 6.1 , for user oracle , there are two files :
bash_profile and .profile
I do not know which one is executed when login ? How to know ,
More over in both of them we have :
in .profile :
ORACLE_HOME=/appli/oracle/product/10.2.0/db_1... (5 Replies)
Discussion started by: big123456
5 Replies
7. Shell Programming and Scripting
Hi,
I wanted to do the following, but the command does not seem to work. Any ideas or suggestions please help.
#1. If the particular ENV variable IMPACT_HOME is not there in a file
grep -q IMPACT_HOME infile || sed -i 'i IMPACT_HOME=/my/new/path' infile
#2. If the ENV variable... (4 Replies)
Discussion started by: dbashyam
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All
I am kind of confused, when to use .bash_profile or .profile
I have just created a user on a test server, with:
useradd -u 103 -d /fretagi -m -s /bin/bash fretagi
but now in its home dir I have:
-bash-3.2$ ls -al
total 14
drwxr-xr-x 2 fretagi other 512 Dec 5 15:54 .... (5 Replies)
Discussion started by: fretagi
5 Replies
9. UNIX for Dummies Questions & Answers
Hi All
Please can you tell , what is the difference between bash_profile and bashrc. How to create them? (8 Replies)
Discussion started by: fretagi
8 Replies
10. UNIX for Dummies Questions & Answers
Hello everyone,
I'm trying to set my .bash_profile to change my primary prompt from this:
banbatchtest1v:MCPPRD:~>to this:
banbatchtest1v:MCPPRD:/home/rcarvall>
Here's what my .bash_profile looks like right now:
# .bash_profile
# Get the aliases and functions
if ; then
.... (2 Replies)
Discussion started by: galileo1
2 Replies
LEARN ABOUT DEBIAN
gm_profile
gm_profile(1grass) Grass User's Manual gm_profile(1grass)
NAME
gm_profile - PROFILE TOOL (gis.m)
PROFILE TOOL (gis.m)
PROFILE TOOL (gis.m)
The Profile Tool will draw a 2-dimensional profile of the surface of any raster map. The profile will be calculated along a transect line,
drawn with a mouse on a map display. The transect line can be a simple line (i.e., with only a beginning and ending node) or a complex
polyline (i.e., with multiple segments, delineated by multiple nodes).
Using the Profile Tool
The Profile Tool is started by clicking on the profile button () on the toolbar of a map display window.
1 Click the map button on the Profile Tool toolbar to select a raster map to profile. The map to profile can be different from the one
displayed.
2 Click the transect button to begin drawing a transect to profile with a mouse the current map display (i.e., the map display from
which you launched the Profile Tool). Draw by holding down the left button to make a "rubber-band" line for each segment of the
transect. A transect can have a single, straight segment or multiple segment. There is no need to "end" the drawing. The Profile
Tool will profile the drawn transect at any time. You can also extend an existing transect and draw a profile of the new transect.
3 Click the profile button to create the profile.
The profile extends from left to right in the profile display. The horizontal (x-axis) scale represents the total distance along the tran-
sect to be profiled. Vertical lines mark each node on a multi-segment transect and show the total distance along the transect to the node.
The vertical (y-axis) scale is in units of the map that is being profiled. All scaling and axis labels are created automatically, and can-
not be changed by the user.
• The erase button will erase the current transect and profile.
• The save button will save the profile to an Encapsulated PostScript (.eps) file.
SEE ALSO
gis.m manual
gis.m: ANIMATION TOOL
gis.m: GEORECTIFY TOOL
d.profile
d.geodesic
d.rhumbline
m.cogo
r.profile
r.transect
AUTHORS
Michael Barton, Arizona State University, Tempe, Arizona, USA
Hamish Bowman, University of Otago, Dunedin, New Zealand
Last changed: $Date: 2009-09-12 17:51:39 +0200 (Sat, 12 Sep 2009) $
Full index
GRASS 6.4.2 gm_profile(1grass)