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
Discussions
Discussions
Forums
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
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
тАО03-19-2009 06:02 AM
тАО03-19-2009 06:02 AM
Anyone please explain me difference betwwen .profile and .login
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:06 AM
тАО03-19-2009 06:06 AM
Re: profile
.login is used for csh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:12 AM
тАО03-19-2009 06:12 AM
Re: profile
please tell me why ksh and csh used where exactly used?
thanx in advance
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:14 AM
тАО03-19-2009 06:14 AM
Re: profile
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:24 AM
тАО03-19-2009 06:24 AM
SolutionYou need to learn the basics then. These are different login shells which will be executed at the time of user logs in. Each shells has its own capablities and features.
It will be specified in /etc/passwd file.
Basic definition of shell:
Users of the UNIX system don't have a direct interaction with the kernel. Instead, the
user always works with a program called the UNIX shell. A shell can be considered a
command interpreter. The shell takes user commands, interprets them, and takes the
necessary action to execute them. It also provides the output of these commands to the
user.
C shell:
It uses a C language-like syntax for shell programming.
Korn shell:
It has more complex and advanced features than the Bourne or C
shell and takes more time to master
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:25 AM
тАО03-19-2009 06:25 AM
Re: profile
/bin/sh Bourne shell
/bin/bash The Bash shell
/bin/ksh Korn shell
/bin/csh C shell
and many more and they have initialization files .profile for korn and sh and .login .cshrc for csh
the system wide initialization file is the /etc/profile where you have the umask set so that it reflects for the created users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:34 AM
тАО03-19-2009 06:34 AM
Re: profile
Not correct, at least in HP-UX!
/sbin/sh and /usr/bin/sh (/bin/ is a link to /usr/bin) is the **POSIX** shell, **NOT** the Bourne shell.
# man sh-posix