Exercices in this course

You have to perform outside of the doc directory not an inside.

/opt/app $ ls
doc
/opt/app $ javadoc -d doc MyClass.java

It will generate documentation in the doc directory.

You can use echo command if you don’t want to write manually(vi editor).
You are getting permission issues because under /etc/ all main configuration files are located. So normal user cannot edit or change without sudo privileges.
There is only single file available /etc/hosts so after hosts file, not recommend to use slash(/).

sudo echo "127.0.0.1  www.google.com"  >> /etc/hosts

If you want to switch into root user then you can do
sudo -i

If you are facing any issues again let me know. Try it.


While i am trying to install tomcat-8.5.53 with wget command. Its showing error : wget command not found as showin the screenshot attached


While i am creating python.tar file under /home/bob directory, its showing the error. Check the message in the screenshot attached. Please revert back asap. My doubts are not getting clarified. Not one is responding as days goes on. Poor support

Hello, @Prem
If wget command is not available then you can install it by yum or apt command. Check the OS Distro.
cat /etc/os-release

then choose package manager, it’s yum or apt:
sudo apt install wget -y
sudo yum install wget -y

Hello, @Prem
You not copied correctly. You just added the newly tar file name but not added content which is going to be added.
tar -cf /home/bob/python.tar /home/bob/reptile/snake/python

Format:
sudo tar -cf <new-tar-file-name> <content-of-the-path>