What is init.d in Linux Service Management? Last Updated : 16 Jun, 2022 Comments Improve Suggest changes Like Article Like Report In Linux there are several services that can be started and stopped manually in the system, some of their services are ssh, HTTP, tor, apache, etc. To start and run these services we used to simply type service "service name" start/stop/status/restart Example: service ssh start And to check if this service is running we type the command service ssh status In this simple manner, we are using service management in Linux but what actually happens, and how does it actually work in the background. What is init.d? All these service works on several scripts and these scripts are stored in /etc/init.d location, this init.d is a daemon which is the first process of the Linux system. Then other processes, services, daemons, and threads are started by init. So init.d is a configuration database for the init process. Now let's check some daemon scripts by printing some processes, a daemon script holds functions like start, stop, status, and restart. Let's check ssh as an example. cat /etc/init.d/ssh Output: Now to you know about the daemon script let's also check what is inside of init.d directory, to do this we will simply list out all the fines inside the location ls /etc/init.d/ Output: How to Use init.d in Service Management? We used to type simple command service ssh start. But now, in this case, we will do it the other way which is also simple. /etc/init.d/ssh start and the same way you can stop /etc/init.d/ssh stop Comment More infoAdvertise with us Next Article How to Manage Process in Linux M Madhusudan_Soni Follow Improve Article Tags : Linux-Unix Similar Reads User Management in Linux User management is a core function of Linux system administration. It controls system access, enforces security, and ensures users have the correct privileges for their tasks. Linux supports multi-user environments, making it ideal for everything from personal laptops to large enterprise systems. Ef 8 min read Debian Software Package Management(dpkg) in Linux In Linux, there are a lot of different distributions and each of these distributions has a different package type. Â For example .rpm or Red hat Package Manager is used as the package in the Linux distribution. A package is the compressed version of the software. In this article, we will go through t 4 min read How to Manage Process in Linux A process means a program in execution. It generally takes an input, processes it, and gives us the appropriate output. Every time you launch an application or execute a command, the system creates a process for it. It involves controlling and monitoring all the running programs on the system. The L 4 min read How to Restart a Service in Linux? In Linux, managing system services is an essential task for maintaining the stability and performance of your system. Whether you're troubleshooting an application, applying configuration changes, or ensuring services run smoothly, knowing how to restart a service in Linux is crucial. With tools, li 3 min read How to Manage Debian Packages in Linux? Debian, one of the oldest and most respected Linux distributions, is renowned for its stability, security, and robust package management system. Managing Debian packages effectively is crucial for maintaining a healthy and well-functioning Linux system. In this comprehensive guide, we will explore e 9 min read What is a Linux Server and Why use it A Linux server is a computer running the Linux operating system designed to serve various functions, such as hosting websites, managing databases, and handling network services. In this article, we'll explore what Linux servers are and delve into the reasons why they are widely used in enterprise en 9 min read Like