Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
bash: tty: command not found

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
p0rt's Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2003
28-Jun-2003, 06:08 AM #1
bash: tty: command not found
Hiya Peeps,

everytime i login or open a konsole in mandrake 9.1, i get the follwing displayed above my cmd prompt:

bash: tty: command not found
[me@mypc me]$

Please help!

Many thanks,
Chris
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
29-Jun-2003, 01:40 AM #2
On my (slackware) system, the tty command is /usr/bin/tty, so you might check there to see if the tty command is also located there on your system. You can also use the command: type tty to display the location of the tty command on your system. If these fail to locate the tty command, try using the command (as root): find / -name tty and review the output.

If you find the tty command on your system, you should verify that the path to the command is included in your PATH variable. So, for example, if you find your tty command in /usr/sbin, (i.e., /usr/sbin/tty) then your PATH variable should include /usr/sbin as one of the directories. Since you are using bash, you might check ~/.profile (a file named .profile in your home directory) to see if your path is set to include this directory (look for a line containing PATH= or similar). You can add the location of the tty command to your PATH statement using your favorite text editor.

If you do not find the tty command on your system, you will need to restore it from backup or the original installation media or another system.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:16 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.