- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: .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
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
08-24-2000 03:35 AM
08-24-2000 03:35 AM
.profile
I Want to Know How to use .profile in X terminal.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 04:11 AM
08-24-2000 04:11 AM
Re: .profile
.profile is a list of commands to be run when a user logs in. Create it in their home directory and when they login using rlogin or telnet it will execute the commands in their .profile.
From an X-terminal when you start a new terminal window, either hpterm or dtterm, add on the -ls option and it will run their .profile when it starts, eg. dtterm -ls or hpterm -ls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 04:26 AM
08-24-2000 04:26 AM
Re: .profile
To add to the above reply :If you are using CDE then remember to uncomment the line
#DTSOURCEPROFILE=TRUE
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 04:27 AM
08-24-2000 04:27 AM
Re: .profile
add following resource :
Dtterm*loginshell : True
or Hpterm or Xterm whichever applies ...it'll save you having to run -ls on the command line, but only takes effect once a new Xsession takes place(logout & back in again to activate in other words).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 08:37 PM
08-24-2000 08:37 PM
Re: .profile
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 09:48 PM
08-24-2000 09:48 PM
Re: .profile
.profile is doing the same. It is going to setup some environment variable eventually executes some external commands.
For each shell that a Unix user can work in, there are diferent shell internal commands, and depends on which terminal are you using, you need to setup one or other environment variable, to one value or another one.
To make easier your work, there are default profiles (see /etc/skel), that you can copy in user's home directory and customise it. (delete, add, as per your needs).
For using it X, for understanding each variable what mean, use man commands and manual for X.
You need to know a little bit of shell scripting to enjoy playing with this, but a overall understanding will be able to have base on man and docs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 03:29 AM
08-28-2000 03:29 AM
Re: .profile
I understand dtterm -ls etc.
And I can tell a little bit of .profile.
I think I should not use this file with
CDE system.
So I think Path, etc is .dtprofile is used.
Maybe.
Thanks.