Sponsored Content
Full Discussion: Setting up Bash profile
Top Forums UNIX for Dummies Questions & Answers Setting up Bash profile Post 302280977 by nixnoob on Wednesday 28th of January 2009 12:02:40 AM
Old 01-28-2009
Look in your current profile file and see if anything like this exists:

Code:
       
        EDITOR=vi
        export EDITOR



# Set up shell environment:

        set -u                                  # error if undefined variable.

# Set up shell variables:

        export <servername>='\u@\h:$PWD \$ '
        exec /usr/local/bin/bash

Then replace what is there with the proper items.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting LIBPATH in profile

Hi there, I wonder if anyone can help me. I run an application on an AIX 4.3.3 machine, for which I need to set up the LIBPATH environment variable for a specific user. I need this to be set up automatically when the user logs in (via Exceed), so I tried setting this in the .profile file. ... (7 Replies)
Discussion started by: durnelln
7 Replies

2. Shell Programming and Scripting

NLS_LANG setting in .profile

Hi In my .Profile file initially I had given export NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1" and later I commented it. When I connect to sqlplus from shell prompt and query "select * from nls_session_parameters" it gives PARAMETER VALUE... (1 Reply)
Discussion started by: arksjd
1 Replies

3. UNIX for Advanced & Expert Users

Setting Up Profile.......Need Help Urgently

Hi I am not able to setup PS1 environment variable in .profile file in my Home directory.I am using RED HAT3 Linux.this is the excercise that i have done $echo $SHELL /bin/ksh $pwd /home/khan $ls -l .profile -rwxrwxrwx $more .profile set -o vi export PS1='khan' $echo $PS1 $ (13 Replies)
Discussion started by: reachtokhan
13 Replies

4. UNIX for Dummies Questions & Answers

setting home as lin in user profile

Hi. I have a directory structure built with links. For example: /home/user1 is a link to /var/123/user1 can i set the home variable in the .profile of the user to use a link? or it has to be a "real" directory? tks (1 Reply)
Discussion started by: mrodrig
1 Replies

5. Shell Programming and Scripting

Sysdate setting in .profile

Hi, I need to append the current system date and time in my file which are being taken a backup by my shell script .so i added the following line in by .profile SYSDATE="$( date '+%d/%B/%Y/%S' )" export SYSDATE But it's a constant one rather then a sync with my system date ,so how can i do... (10 Replies)
Discussion started by: malickhat
10 Replies

6. Shell Programming and Scripting

Need help in setting .profile , .cshrc , .exerc ..... in HP-UX , Solaris , AIX-UX

I need help in settings to Hp-UX , Solaris , AIX-UX .. I worked on Linux previously ... now i am working on Hp-UX , Solaris , AIX-UX .. up/down arrow , to see history of previous command (basically to modify ) and few keyboard keys are different ... so i need to set .profile , .cshrc , ... to... (1 Reply)
Discussion started by: girija
1 Replies

7. UNIX for Dummies Questions & Answers

Setting umask 022 by default to my profile

Hello everyone, I want to set my properties of my profile to umask 022 by default. I have an idea that i need to make the change in .profile file. Can you please help me, on how would i be able to set it. Thanks, Abhishek S. (4 Replies)
Discussion started by: abhisheksunkari
4 Replies

8. Red Hat

Bash profile

Hi I noticed that my bash profile has duplicate entries. For example there are two entries for the variable $APP_HOME = /app/soft/install $APP_HOME =/app/software/install Will this have any impact ? Please advise (2 Replies)
Discussion started by: nathan_nathan
2 Replies

9. UNIX for Dummies Questions & Answers

setting the profile

What's the purpose of setting the profile in side the script? however the user when logins, the profile wil be set. Then why we need to use that explicitly inside the script? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

10. AIX

Profile Max CPU Setting

I have a system with the following settings: min:0.10 Assigned: 2.0 Max: 6.0 Partition is uncapped weight is 128. I would like to know if even if this is uncapped, is the max it can use 6? The actual pool has 16. I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Discussion started by: techy1
3 Replies
HME(4)							   BSD Kernel Interfaces Manual 						    HME(4)

NAME
hme -- Sun Microelectronics STP2002-STQ Ethernet interfaces device driver SYNOPSIS
hme* at pci? dev ? function ? hme* at sbus? slot ? offset ? DESCRIPTION
The hme driver supports Sun Microelectronics STP2002-STQ Fast Ethernet interfaces. HARDWARE
The hme driver supports the on-board Ethernet interfaces of many Sun UltraSPARC workstation and server models. Cards supported by the hme driver include: Sun PCI SunSwift Adapter (``SUNW,hme'') Sun SBus SunSwift Adapter (``hme'' and ``SUNW,hme'') Sun PCI Sun100BaseT Adapter 2.0 (``SUNW,hme'') Sun SBus Sun100BaseT 2.0 (``SUNW,hme'') Sun PCI Quad FastEthernet Controller (``SUNW,qfe'') Sun SBus Quad FastEthernet Controller (``SUNW,qfe'') The STP2002 family supports hardware checksumming to assist in computing IPv4 TCP/UDP checksums. The hme driver supports this feature of the chip. See ifconfig(8) for information on how to enable this feature. SEE ALSO
ifmedia(4), intro(4), mii(4), ukphy(4), ifconfig(8) Sun Microelectronics, STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) User's Guide, http://mediacast.sun.com/users/Barton808/media/STP2002QFP-FEPs_UG.pdf, April 1996. HISTORY
The hme driver first appeared in NetBSD 1.5. AUTHORS
The hme driver was written by Paul Kranenburg <pk@NetBSD.org>. BUGS
Connecting a MII transceiver on those cards that support it will cause the RJ45 connector to be detected as PHY instance 1, instead of the default instance 0. BSD
June 23, 2012 BSD
All times are GMT -4. The time now is 09:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy