LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2014, 04:44 PM   #1
fatou
LQ Newbie
 
Registered: Apr 2014
Posts: 7

Rep: Reputation: Disabled
Solaris or linux how to edit my Profile easily ?


Hi,

I need your help to solve profile issue and start working. I'm really new in linux and solaris

1- In a linux environment all my commands were from here:

===
/home/cs/tools

2- now my company changed to solaris and all commands have been moved here:

/cores_new-place/local/tools/prod:

How can I modify my path to point to the new place [/cores_new-place/local/tools/prod:] so that I could use commands and scripts stored there ?

Thanks

Fatour
 
Old 07-03-2014, 04:46 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
add something like this to either your ~/.profile or ~.bash_profile (i'm not sure what shell you are using):
Code:
export PATH=$PATH:/cores_new-place/local/tools/prod
 
Old 07-03-2014, 04:50 PM   #3
fatou
LQ Newbie
 
Registered: Apr 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
hi schneidz

How can I know what shell you I'm using ?
 
Old 07-03-2014, 10:08 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Code:
echo $SHELL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Easily Edit and Create Custom Launchers, Desktop Entries in Gnome 3 LXer Syndicated Linux News 0 12-28-2011 11:30 AM
How do I edit my profile? Ingla LQ Suggestions & Feedback 5 11-15-2005 10:28 PM
Edit /ect/profile with root? Tony33221 Linux - Security 11 09-04-2005 07:02 PM
How do I edit .profile? orly Linux - Software 3 08-19-2004 02:50 PM
Solaris 8.0 profile where is it feetyouwell Solaris / OpenSolaris 2 02-16-2004 05:39 AM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration