How to start, stop, restart and list services in Debian Linux?

You require to be root to execute the following commands successfully. su Start a service service {service name} start Example service sshd start Stop a service service {service name} stop Example service sshd stop Restart a service service {service name} restart Example service sshd stop List all services servicestatus-all Output

អាន​បន្ថែម

How to install and configure SSH server on Debian Linux?

Installing and testing the SSH Server You will need to be root to do the followingsu Install SSH Server apt install openssh-server Check if the server process exists. This indicates the install went well. ps -A | grep sshd Output (or similar): 1753 ? 00:00:00 sshd Install SSH Client to check the

អាន​បន្ថែម

How to add/remove users, change password, create, edit groups and create sudo user on Debian linux?

List all local users cat /etc/passwd You could also use the following command to print only the username part of the above /etc/passwd output. cut -d: -f1 /etc/passwd The above parameters: -d: use colon as the delimeter, -f1 get the first field.   You must be root for the following su Add new user

អាន​បន្ថែម