LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2015, 08:44 AM   #1
cmccabe1
LQ Newbie
 
Registered: Sep 2015
Location: Chicago
Distribution: Ubuntu 14.04
Posts: 2

Rep: Reputation: Disabled
error starting terminal in Ubuntu 14.04.3


I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but Iím not really sure what. Thank you .

Code:
Command 'lesspipe' is available in the following places * /bin/lesspipe * /usr/bin/lesspipe 
The command could not be located because '/usr/bin:/bin' is not     included   in the PATH environment variable. 
lesspipe: command not found Command 'dircolors' is available in '/usr/bin/dircolors' The command could not be located because '/usr/bin' is not included in the PATH environment variable. 
dircolors: command not found Command 'ls' is available in '/bin/ls' 
The command could not be located because '/bin' is not included in the     PATH environment variable. ls: command not found
I have tried to fix the bash shell PATH by:
Code:
 export PATH=/bin:/usr/bin:$PATH
but I am still getting that error.
 
Old 09-13-2015, 01:40 AM   #2
lab-rat
Member
 
Registered: Dec 2008
Distribution: Fedora Core 9, suse11.3 ,Ubuntu-super 10.10, Lubuntu 12.04 - 14.04.3
Posts: 35

Rep: Reputation: 4
cmccabe1

can you do this; in the terminal window, type in echo $PATH press enter and post the results here, so we can see your PATH statement?

Also let us know which Distro of Linux you are running
 
Old 09-13-2015, 01:44 AM   #3
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Rep: Reputation: Disabled
Quote:
Originally Posted by lab-rat View Post
cmccabe1

can you do this; in the terminal window, type in echo $PATH press enter and post the results here, so we can see your PATH statement?

Also let us know which Distro of Linux you are running
could you take a look at my thread and help me out?
 
Old 09-13-2015, 01:47 AM   #4
lab-rat
Member
 
Registered: Dec 2008
Distribution: Fedora Core 9, suse11.3 ,Ubuntu-super 10.10, Lubuntu 12.04 - 14.04.3
Posts: 35

Rep: Reputation: 4
OK you are on Ubuntu 14.04

easiest way to fix that issue is to edit your Environment file

You need to do this as Root. So in Terminal window if you have LeafPad installed you can edit it by typing sudo leafpad /etc/environment

make the additions to your environment file , save it , the try running lesspipe again
 
Old 09-13-2015, 07:52 AM   #5
cmccabe1
LQ Newbie
 
Registered: Sep 2015
Location: Chicago
Distribution: Ubuntu 14.04
Posts: 2

Original Poster
Rep: Reputation: Disabled
Code:
 $ cmccabe@HP-Z640-Workstation:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:  /usr/local/games:/home/cmccabe/tabix-0.2.6

to add to PATH:

Code:
 
sudo nano /etc/environment 

and add :

export PATH=/bin:/usr/bin:$PATH
export PATH=/bin:/usr/bin:$PATH
export PATH=/bin:/usr/bin:$PATH
Btw, is the above the correct way to add to PATH so that echo $PATH will work to view?

Code:
 echo 'export PATH=$PATH:/home/cmccabe/Desktop/ngs_analysis/samtools-1.2' >> ~/.bashrc
would add to PATH so cat ~/.bashrc could be used to view?

What is the difference and when should one be used versus the other or is there a preferred way? Thank you .

EDIT:
using ubuntu 14.04 and the error started after I uninstalled an application that was not working.

Last edited by cmccabe1; 09-14-2015 at 09:43 AM. Reason: added details
 
  


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
Compile error in Terminal when I open Terminal in Ubuntu secman110 Linux - Software 2 10-29-2013 11:00 PM
[Ubuntu 9.10]Java error when starting scripts. dj32 Ubuntu 11 12-25-2009 08:49 AM
[Ubuntu 9.10]Java error when starting scripts. dj32 Linux - Newbie 1 12-25-2009 04:59 AM
Mozilla and terminal starting everytime i boot ubuntu. avinash.rao Ubuntu 6 07-25-2008 09:53 AM
error message starting terminal skeletonca Linux - Newbie 1 10-23-2006 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 AM.

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
Open Source Consulting | Domain Registration