command sosreport not found

Error SOSREPORT Command Not Found

Error SOSREPORT Command Not Found If you face any issue in running sosreport command in Linux like sosreport command not found because There’s no package installed for running sosreport command. you can install sos rpm package which is used for sosreport analysis in Linux as well as Centos. so

Check Out: What’s New In Redhat 8 Beta Version

rpm package for sosreport

Step 1: If the SOS package is not installed use this command to install. so

yum install sos -y

Now you have to find where this command located by a command so

which sosreport

Step 2: Now verify the above path not exist in the $PATH of the user. If you get no output means the path is not available.

echo $PATH

Check Out: Useful Commands Of Firewall

NOTE: Run the above command as the user getting the “command not found” error.

Step 3: Now you will have to edit $HOME/.bash_profile to set the environment variable.

vim $HOME/.bashrc_profile

Add these line mentioned below

PATH=$PATH:/usr/sbin/

export PATH

Save and exit.

Check Out: How To Create a Branch In Git

Step 4: Now load the source the new bash profile

source $HOME /.bashrc_profile

That’s it linux sosreport analysis rpm package for sosreport centos

3
Leave a Reply

avatar
2 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
https://problemyzerekcja.pl.tlPankajVytoplex CBD Oil Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Vytoplex CBD Oil
Guest

This is really interesting, You are a very skilled blogger.
I’ve joined your rss feed and look forward to seeking more of your magnificent post.
Also, I have shared your web site in my social networks! http://vytoplexcbd.net/

https://problemyzerekcja.pl.tl
Guest

naturalne sposoby na poprawe erekcji