Day 9:

Managing Linux services

The systemctl command can be used to manage services in Linux such as networking, security etc.. It has the syntax: systemctl <subcommand><service name>

The ssh command is used to connect to a remote server or system.

The top command provides a dynamic real-time view of a running system. It displays system summary information and s list of processes or threads that the Linux kernel is currently managing. Provides a limited interface for process manipulation and a more extensive interface for personal configuration.

The df command displays information about the hard disk such as used and free space, size information and where to find the partition in the system.

The du command displays file and directory information.

Managing Linux Networking

The ping command is used to ensure that a computer is connected to a specific device or network. It sends internet control message protocol (ICMP) echo requests as packets to the destination.

ping command details include:

number of packets transmitted

number of packets received

time that the packets take to return.

The trace route command follows route of packets to determine how many hops are taken to reach a destination.

The nslookup command queries the Domain Name Server (DNS) to fetch IP address.

The ifconfig command is an interface address and net mask of a network. configuration that sets or displays the IP

The scp copy file from a remote host to the computer.

The telnet enables user to connect to a remote host or devices. It sends information in plaintext, not encrypted like ssh.

The key services for troubleshooting include:

Firewall — Can block network connections

Network — issues communication in network

ssh — permits remote administration.

Computer engineer | Software developer | AWS re/start program learner - working towards AWS Certified Cloud Practitioner