How do you start and stop services in unix without using admin console?
Answer / Anamika
In Unix, you can use the command 'service' or 'systemctl' to start and stop services. Here is an example:
To start a service named 'my_service':
```
sudo service my_service start
```
To stop a service named 'my_service':
```
sudo service my_service stop
```
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the requirements for a swapper to work?
What does sort do in unix?
How to copy files from one directory to other in unix?
Interviewer: Lets say there is a partition of 100GB. When i tried to create a file using touch command, under any directory, it was unable to create the file- '100% full disk space'. I calculated the size of each and every directory on that partition mannually by adding each file size & in came out to be total size 50GB. Then where is the remaining 50GB ? why it is showing disk space 100% full in 'df -h' command?
What is difference between unix and windows?
What are the benefits of running processes in the background?
What are positional parameters in unix?
What are the three major components of any unix system?
what is wrong with this interactive shell script?
What is source unix?
In what way the validity fault handler concludes?
How to remove certain lines from a file in Unix?