For the second question highlight the cursor to the line say, 2nd line using the arrow keys and then press yy to copy and then move the cursor to fisrt line and then press p to paste.
you can delete the copied line using dd.
Command mode is clearly explained in the Vi Editor lecture.
Hello, @Prem
As I saw in the question 7, to identify in which location app service is located or created.
Location is /usr/lib/systemd/system
or
By command systemctl cat app.service
But according to question, you need to know the location so it should be “/usr/lib/systemd/system”.
a.) Which script will run before the app service starts – ExecStartPre
b.) Which script will run after the app service starts – ExecStartPost
Hope it will help you to identify your issues.
I am facing some issue in installing CentOs VM in my laptop. My host OS is windows. I installed Oracle virtual box. I downloaded the .iso file also. But my installation is not getting done. The error is coming like, Media check is complete, Result is FAIL. please help me out. I am trying this since 2days. Its not happening. See the error in the screenshot attached. I attached 3 screenshots after I select CentOS and click on START
Please help me complete this task.
I tried, but the documentation is getting generated. its showing 1 error. Please check the error message in the screenshot
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(/).