- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alias in .profile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:23 AM
06-27-2003 04:23 AM
I've created a .profile in my login directory.
Changed the .dtprofile and added:
DTSOURCEPROFILE=true
This seems to have worked, because the system variables in the .profile have been read, but the aliases I put in don't work. The syntax is ok. and if I run the .profile manually after login the aliases are active.
I don't understand this. Is the .profile being read during login or not. How is it possible, that some of it is read and some of it not ?
Gratefull for any response.
Regards,
Frans
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:26 AM
06-27-2003 04:26 AM
Solutiondtterm -ls (loginShell) does it now work ?
To make permantent and for ALL terminals :
vi $HOME/.Xdefaults
*loginShell : True
exit CDE and log back in for changes to take effect : see man dtterm etc for full explanation but this is expected behaviour, CDE only sources .profile at login once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:29 AM
06-27-2003 04:29 AM
Re: alias in .profile
As a general rule, I put alias info in the .rc file for the respective shell: .kshrc, for example.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:34 AM
06-27-2003 04:34 AM
Re: alias in .profile
Thanks Alex.
Regards,
Frans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:40 AM
06-27-2003 04:40 AM
Re: alias in .profile
- $HOME/.profile for variables which are exported including ENV a special one to specify a script to be executed by all subshells
. $HOME/.kshrc (most common value for $ENV). From man sh-posix which you should check, "This file is typically used for alias and function definitions."
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 04:42 AM
06-27-2003 04:42 AM
Re: alias in .profile
echo *loginShell: true" >> $HOME/.Xdefaults
You can set additional resources to make terminal windows more palatible:
Here are some additional resources that make terminal windows more palatible:
HPterm*background: navy
HPterm*foreground: white
HPterm*saveLines: 10s
HPterm*scrollBar: true
Xterm*background: darkslateblue
Xterm*foreground: white
Xterm*saveLines: 10s
Xterm*scrollBar: true
Dtterm*saveLines: 10s
Dtterm*scrollBar: true
Of course, the colors can be changed to any value and you can also set the terminal's character geometry (lines/columns) and the physical size in pixels.
Bill Hassell, sysadmin