The cd command is used to change the current working directory. When using the cd command with arguments, you can use either absolute paths or relative paths as arguments for the command. Absolute paths begin at the root of the directory tree, while relative paths refer to a location relative to your current directory. To …
Linux
If you’re getting an error like “cd: Permission denied” when trying to change directories in Bash, don’t worry, you’re not alone. This is a common issue that can be fixed fairly easily. In this blog post, we will discuss two ways to fix the cd: Permission denied error. Hopefully one of these methods will work …
The SSH option StrictHostKeyChecking is a security feature that affects how SSH verifies the identity of a remote computer when connecting to it. It determines whether strict host checking is enabled or disabled. When this option is enabled, the client will automatically reject any key from the server that does not match the one stored …
If you’ve been getting the error message “ssh: Could not resolve hostname Name or service not known,” don’t worry, you’re not alone. The error message “ssh: Could not resolve hostname [name]: Name or service not known” indicates that the SSH client is unable to resolve the hostname of the remote server you are trying to …
Recently, the network at my workplace went down for a few minutes. I was tasked with investigating the issue and found that one of the network cards had failed. Step by Step guide to Troubleshooting network issue I started by checking the status of the network interface: ifconfig eth0 The output showed that the interface was …
I was recently tasked with solving a tricky disk performance issue on a Linux server. At first, I thought it would be a straightforward task. After all, I had been working in IT for several years and had seen my fair share of disk performance issues. But as soon as I started looking into the …
Troubleshooting a problem related to Linux networking can be a challenging experience, but it doesn’t have to be. By understanding the basic principles of Linux networking and having an organized approach, you can quickly identify and resolve any issue that arises. In this article, we will dive into this issue using the following commands. Network …
The “ifconfig: command not found” error typically means that the ifconfig binary is not installed or the path of the binary file is not under the $PATH. So we can use the following 3 ways to fix this issue. install ifconfig command through net-tools package run ifconfig command with full path add the directory path …
Networking is an essential element of any Linux interview. Employers want to know that potential employees can establish and maintain secure connections in a networked environment. What you should prepare for the interview? Being able to troubleshoot networking issues, and configure basic networking services are just some of the skills employers look for when interviewing …
In Linux, there are many tools available for performance analysis and monitoring. In this article, we will introduce 6 of the most commonly used tools. top – display cpu memory process info in Linux The top command is one of the most commonly used tools in Linux for monitoring system performance. By default, it displays …