Fedingo.com

How to Check SSD Health in Linux

Web2. Check SSD Health. You can easily get information about your SSD with the following command where ssdx is the name of your SSD. $ sudo smartctl -i /dev/ssdx. …

Actived: 3 days ago

URL: https://fedingo.com/how-to-check-ssd-health-in-linux/

How to Check Bad Sectors in HDD in Ubuntu

WebFirst, we will use fdisk command to list all our disk partitions available. $ sudo fdisk -l. You will see a list of all disk partitions along with the mount path. For example, if …

Category:  Health Go Health

How to Set Default Gateway in Linux

WebHere is the command to add a new gateway. route add default gw {IP-ADDRESS} {INTERFACE-NAME} In the above command, IP-ADDRESS is the IP …

Category:  Health Go Health

Shell script to get CPU and memory utilization

WebHere are the steps to create shell script to get CPU and memory utilization. 1. Create empty shell script. Open terminal and run the following command to create a …

Category:  Health Go Health

LS File Size in kB, MB

WebHere is how to display file size in kb in ls command. 1. Display file size in kb. You can easily display file size in kb using -h option. Here is an example. $ ls -lh. total …

Category:  Health Go Health

How to Concatenate String Variables in Shell Script

WebSometimes you may need to combine or join strings in shell script. There are several ways to concatenate string variables in shell script. In this article, we will learn …

Category:  Health Go Health

Python Script to Check URL Status

WebPython Script to Check URL Status. Python provides many packages for this purpose. But we will see how to do this using 3 popular packages – urllib, requests and …

Category:  Health Go Health

How to Get User Input in Shell Script

WebIn the above code, we use read command to read a single input and store it in variable name. $ /home/test.sh. enter name:fedingo. you entered fedingo. 2. Get Multiple …

Category:  Health Go Health

How to Fix Notice: Undefined Variable in PHP

WebOpen php.ini file in a text editor. Look for the following line. error_reporting = E_ALL. Change it to. error_reporting = E_ALL & ~E_NOTICE. Restart Apache server to …

Category:  Health Go Health

Shell Script to Check Disk Space and Send Email Alerts

WebIf your system has low disk space or runs out of disk space, then it will slow down your system. So it is advisable to monitor the amount of free disk space in your …

Category:  Health Go Health

How to Check What User NGINX is Running As

Webps command lists all processes in your system. You can easily determine the user running NGINX server with the following command. $ sudo ps aux| grep nginx. In …

Category:  Health Go Health

cURL Command to Call REST API

WebcURL is a useful command that allows you to send requests in different ways. It supports multiple protocols, supports authentication, file downloads and data …

Category:  Health Go Health

How to Configure SSL/TLS passthrough in NGINX

WebSometimes you may need to setup SSL passthrough for your NGINX load balancer/reverse proxy server to pass the encrypted data to backend servers.

Category:  Health Go Health