I have installed BWA in my laptop and i went back to my home directory to find whether the installation was proper using the command (man ./bwa.1). It displayed no such file or directory but when i executed the same command within the bwa directory it shows the installation was successful by displaying the syntax and options for bwa. The same happened when i was trying to index my reference genome. The command worked within the bwa directory but not outside the directory.
Command I used for installation
git clone
cd #path is my home directory
make
And checked the installation with the command below
man ./bwa.1 # ./ represents my home directory