“Command not found” is an error message that is displayed in the terminal when the shell is unable to locate an executable file or command that you have entered. There are several reasons why this error can occur: You may have mistyped the command name. The command is not installed on your system. The command …
The “No route to host” error can occur when attempting to connect to a remote host using the Secure Shell (SSH) protocol. This error usually indicates that a request sent from a client is not being properly routed to the destination host. This could be due to various factors, such as incorrect network settings, the …
FileNotFoundError: [Errno 2] No such file or directory is an error that occurs when a Python program or script attempts to access a specific file but does not find the specified file in the designated location. This generally indicates either that the path to the file is incorrect, or that the user does not have …
When you receive the error message “SSH Permission denied (publickey)”, it means that there is a problem with the authentication process using a public key. This is because the server is not able to recognize the key. The public key is not added to the authorized_keys file on the instance. Incorrect permissions on the authorized_keys …
The export command is a bash shell BUILTIN command. It tells the Linux shell to make the variables available to the child processes. In Linux, the export command is usually used to change local variables to environment variables. We can use the export command to list all the global variables. It is the same as …
The PATH variable is a list of directories that contains executable programs. It controls where your shell will look for commands on your system. When you enter a command in the terminal, such as grep, ls, or echo, the shell looks for the command in the directories listed in the PATH variable. If it finds …
In Linux, there are several commands that can be used to find the process name associated with a specific port number. The most commonly used commands for this purpose are netstat, ss, and lsof. The netstat command provides information about network connections and open ports on a Linux system. The ss command is similar to …
By keeping an eye on your network usage, you can make sure that your system is running smoothly and efficiently. If you’re using Linux, there are a few different ways that you can check your network usage. In this blog post, we’ll go over four methods that you can use to monitor your network traffic. …
A sparse file is a type of computer file that has holes in it. These holes don’t contain actual data. A spare file only allocates disk space for the data that are actually stored. This allows a sparse file to appear to be much larger than it actually is, while taking up very little space …
Here are five commands that we can use to troubleshoot network issues in Linux. ifconfig: the ifconfig command is used to view and configure network interface parameters. netstat: The netstat command is used to display network connections, routing tables, and other network statistics. tcpdump – capture and analyze network traffic in Linux ping: The ping …