On January 9, 2019 8:03:41 PM CST, hykwok1--- via blfs-dev <[email protected]> wrote: >I created a new Linux system and followed the instruction (from the >"The Bash Shell Startup Files" section) to create the file >/etc/profile.d/bash_completion.sh. However, I got the following errors >after system statup: >-bash: have: command not found > >After that I found the cause and the solution from the following links: > >https://unix.stackexchange.com/questions/286022/have-command-not-found >https://stackoverflow.com/questions/12874920/have-keyword-for-bash-completion > >So, I think it is better to update the "The Bash Shell Startup Files"" >section to mention this issue. >-- >http://lists.linuxfromscratch.org/listinfo/blfs-dev >FAQ: http://www.linuxfromscratch.org/blfs/faq.html >Unsubscribe: See the above information page > > >-- >This message has been scanned for viruses and dangerous content by >E.F.A. Project, and is believed to be clean. > >Click here to report this message as spam. >https://efa.lucasit.com/cgi-bin/learn-msg.cgi?id=534A2607E4.A7462&token=1ecec7d76b91be2ed7e741be51ab5919
This comes from grub putting the completions in the incorrect directory, and is covered in LFS. I don't have a book in front of me, but the grub instructions were updated within the past month to account for this. --DJ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
