There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
bash: tty: command not found


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
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.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:56 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.