01-28-2012
10 More Discussions You Might Find Interesting
1. OS X (Apple)
Does any1 know how to preform such an operation on a mac?
any help appreciated (2 Replies)
Discussion started by: cleansing_flame
2 Replies
2. UNIX for Advanced & Expert Users
Hello All,
I am using a HP-UX machine and I want to update the .profile file so that after login to my userID that will be applicable to my ID also. What I am trying to do is :
In .profile file I am trying to write in /home/userID folder:
export PATH=$PATH:$HOME:.
so that whenever I will... (3 Replies)
Discussion started by: abhishek0071
3 Replies
3. Shell Programming and Scripting
Hi,
I have to run a sqr program.
In the profile file everything is set.
e.g
APPLID=personel
APPPATH=/${ENVIRONMENT}/${APPPATH}
and so on..
SQRDIR=/opt/sqr/bin/syb
Still when I'm running this script,its giving error APPLID not set and SQRDIR not set.
Any idea,why?
TIA (5 Replies)
Discussion started by: autosys_nm
5 Replies
4. AIX
I created a profile in HMC for a new LPAR and activated it but not yet installed AIX.
Is there a step to make this new LPAR available as vhostX from the VIO server after creating and activating an HMC profile?
I already shared the CD-ROM device from the HMC profile.
Thanks.
-... (1 Reply)
Discussion started by: learner1
1 Replies
5. HP-UX
Hello All,
I have HP Openview storage data protector version 5.5. When I am going to write my backup I have an error message saying "Connot Open Device /dev/rmt/0mn"
Follownig is my output:
# ls -l /dev/rmt/0mn
crw-rw-rw- 2 bin bin 205 0x080140 Jan 17 16:41 /dev/rmt/0mn
# uname -a... (2 Replies)
Discussion started by: hellozishan
2 Replies
6. Shell Programming and Scripting
Hello,
I don't understand why the script below doesn't act the way it should :
#!/bin/sh
awk 'BEGIN{printf("Entrez la date : "); getline date < "-"}
$0 ~ date {f=1;print;next}
/^{2}\//{f=0}
f' Planning.csv > planning.txt
It doesn't create file planning.txt with only the result of... (14 Replies)
Discussion started by: freyr
14 Replies
7. UNIX for Dummies Questions & Answers
Hi,
We have a load of users which point to the same basic profile by a link:
.profile -> /export/home/dusers/INIT/dot.profile
I'd like to create a seperate profile for one user -testu12. If I remove the link from his profile will it delete the actual dot.profile file?
I've tried to do a... (4 Replies)
Discussion started by: Grueben
4 Replies
8. Shell Programming and Scripting
first i created a profile file(my_var.profile) which contains
export my_var=20
after that i created shell scripts(my_var.sh) which contains
#!/bin/bash
. ./my_var.profile
echo '$my_var='$my_var
but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Discussion started by: pratikjain998
6 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
10. UNIX for Dummies Questions & Answers
Hi
where to see my .profile file in unix
thanks
Dharma (2 Replies)
Discussion started by: na.dharma
2 Replies
LEARN ABOUT MINIX
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)