{ 3 comments… read them below or add one }

1 vasudha August 11, 2011

Hi,

In order to get profile u need to have ~/.bashrc
It contains setting
==> for your shell promt display
==> colour settings based on the permission (example exe fles appear green

So I suggest you copy the bashrc and bash_profile and bash from any linux server into your login and run the following command to change our profile
./bash

Reply

2 shyam October 30, 2011

what is user profile and .profile in unix…waiting for your replay

Reply

3 Somnath January 18, 2012

My problem: Today I started to install sysstat monitor tool for my OS X by using 1. apt-get install sysstat 2. yum install sys stat 3. rpm -i sys stat.rpm none of then worked.

Even I cannot execute some unix commands from my Terminal.app.

Then I tried to see echo $PATH but the output is empty but I can start my TOMCAT and close.

NoW I cannot locate .profile or .bash_profile using the ls -a command. But still TOMCAt is working.. So It seems I messed up :) Please let me know the reason? It is really deleted but how tomcat is working (as in OS x the java no need to be specified in .profile)?.

So Please help me to understand the problem and how to reconfigure it so that it can execute all commands.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 14 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: