LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-23-2020, 11:18 AM   #1
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Rep: Reputation: Disabled
command not found after successfully logged in


Hi,

i have sucessfull build LFS systemd 9.1 then BLFS Lxde desktop.
when i am successfully logged in to my vm it displays 13 times like below.

-bash: have: command not found
-bash: have: command not found
..............................

please find attachment of screen shot.
Attached Thumbnails
Click image for larger version

Name:	command not found.PNG
Views:	108
Size:	168.8 KB
ID:	33065  

Last edited by chinnadas; 04-23-2020 at 11:22 AM.
 
Old 04-23-2020, 11:23 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Code:
grep have ~/.bash* ~/.profile

Last edited by shruggy; 04-23-2020 at 11:26 AM.
 
Old 04-23-2020, 11:29 AM   #3
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Code:
grep have ~/.bash* ~/.profile
please find attachment
Attached Thumbnails
Click image for larger version

Name:	root.login.PNG
Views:	18
Size:	49.2 KB
ID:	33066  
 
Old 04-23-2020, 11:38 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Anyhow, bash finds the word have somewhere and tries to execute it as a command. If it's not in your .bashrc, nor in some script sourced from there, then probably in /etc/profile or /etc/profile.d/*
 
Old 04-23-2020, 12:32 PM   #5
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Anyhow, bash finds the word have somewhere and tries to execute it as a command. If it's not in your .bashrc, nor in some script sourced from there, then probably in /etc/profile or /etc/profile.d/*

i dint find 'have' word in /etc/profile or /etc/profile.d/*

Last edited by chinnadas; 04-24-2020 at 05:38 AM.
 
Old 04-24-2020, 06:00 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
The message is clear. The word "have" appears somewhere where the shell sees it as a command, not a comment.
Could also be in /etc/bash.bashrc or any of the files that are sourced from one of the files mentioned so far.
For soemone who managed to build LFS this shouldn't be hard.
 
  


Reply



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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
unable to see the LUN in RHEL6 where as successfully logged in bubai70 Linux - Server 9 12-05-2015 09:45 AM
Why am I told I'm logged out after I've logged in? Airidh LQ Suggestions & Feedback 1 02-25-2011 10:35 AM
Successfully compiled from source..but "command not found" Matz Linux - General 15 03-05-2007 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:27 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
Open Source Consulting | Domain Registration