The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Shell Programming and Scripting 3 06-04-2008 04:11 AM
Sunsolaris shell script runs only as super user gjithin SUN Solaris 4 05-09-2008 05:47 AM
rsh as super user without password prompt TheMightyUrrrrf UNIX for Dummies Questions & Answers 1 02-13-2008 06:50 AM
reassigning key functions in super user mode lehcar511 UNIX for Advanced & Expert Users 5 06-19-2003 09:03 AM
FTP as Super User fbavent UNIX for Dummies Questions & Answers 3 05-22-2002 08:49 PM

Reply
 
LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 05-09-2008
Registered User
 

Join Date: May 2008
Posts: 16
i restarted the system but it shows the same.....
The file content is changed But echo $PATH does not show any change
I changed the .profile file in /home/user/.profile file . Is this correct.
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 05-09-2008
Registered User
 

Join Date: Jul 2006
Posts: 189
try like this

Code:
~/.profile
Reply With Quote
  #10 (permalink)  
Old 05-09-2008
Registered User
 

Join Date: May 2008
Posts: 16
is shows permission denied.
Reply With Quote
  #11 (permalink)  
Old 05-09-2008
Registered User
 

Join Date: Jul 2006
Posts: 189
put following entry in ur script

Code:
export PATH=${PATH}:/usr/sbin/
Reply With Quote
Google UNIX.COM
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0