1828240 Members
2524 Online
109975 Solutions
New Discussion

Help with profile

 
SOLVED
Go to solution
Ragni Singh
Super Advisor

Help with profile

Hi All, I need some help with profile. You see, we have both hp and linux servers. All the home dirs are mounted from HP server. The users on HP are using ksh shell. When users login to Linux, which is setup to use bash shell, they get the following message. Any idea what I can do to eliminate this message for them. Any help here is greatly appreciated.

-bash: tabs: command not found
-bash-2.05b$
3 REPLIES 3
Mark Grant
Honored Contributor
Solution

Re: Help with profile

Within the .profile you'll find the "tabs" command. This sets tabs on a terminal and you probably don't need it so you can probably just comment it out.

Otherwise change it to this.

[ 'uname` = "HP-UX" ] && tabs
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: Help with profile

Sanjay,

Post up the profile. This error is probably caused by an error on the first line of the profile where the shell is set.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ragni Singh
Super Advisor

Re: Help with profile

thanks, its actually fixed. I did indeed have a tabs in my profile and once I removed it, all works fine now.