LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-29-2015, 09:07 PM   #1
thelynx
Member
 
Registered: Jan 2015
Location: Thailand
Distribution: Apricity OS
Posts: 35

Rep: Reputation: Disabled
No such file or directory error on opening bash


Hi folks,

I have a very basic question for you if you don't mind. Whenever I open a terminal, I get this

Code:
 bash: /etc/profile.d/touchpad.sh: No such file or directory
followed by the usual prompt.

A few weeks ago I made a script called touchpad.sh, which would run whenever I opened a terminal. In the end, I deleted it because it wasn't doing what I wanted it to do. But some file is clearly still pointing to it. I've searched high and low for the source of this error, i.e. some reference to touchpad.sh, but I cannot find it. I've looked in ~/.bashrc ~/.profile and a few other places I can't remember offhand that I found on the Internet. Can anyone tell me where this reference is most likely to be? While it doesn't cause any problems and I can still use the terminal without a problem, it's a bit annoying and considering the amount of time I've spent trying to solve this problem, I'd be most grateful if someone point me in the right direction.

I'm running Sparky Linux (Debian Jessie) 64-bit (XFCE install) with Enlightenment Desktop on Lenovo T420.

Thank you in advance.
 
Old 01-29-2015, 11:06 PM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 37
Did you check /etc/profile and /etc/bash.bashrc ?
 
Old 01-30-2015, 12:01 AM   #3
thelynx
Member
 
Registered: Jan 2015
Location: Thailand
Distribution: Apricity OS
Posts: 35

Original Poster
Rep: Reputation: Disabled
Thanks for your reply, Daws.

It is indeed in /etc/bash.bashrc! Thanks a million!
 
  


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
Error Message /bin/bash: : No such file or directory tejakalva Linux - Newbie 11 01-21-2015 03:51 AM
Error installing S-PLus 7.0 -- bash: ./[ANYFILENAME]: No such file or directory purple_monkey Linux - Software 1 04-25-2007 07:03 PM
Error opening /dev/wacom no such file or directory Xirtrips Linux - Software 1 10-02-2006 03:20 PM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM


All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration