recently switched from a Windows server 2016 to a FreeBSD Unix server. I need to check disk space on Unix command line. How do I find out disk space utilization information using the Unix command-line option?
ow do I read my hard disk/SSD health using smartctl command on FreeBSD operating system? How can I hard drive health on FreeBSD and find out if my disk is dying?
an you explain bash exit status code? How do I set bash exit status in my Linux shell scripts?
configured Nginx server. However, it is sending the wrong content type. I need to force Nginx to send specific “Content-Type: text/xml; charset=UTF-8
“. How do I configure Nginx to override content type for given URL location?
am a new to shell scripting. How do I check for NULL value in a Linux or Unix shell scripts?
installed GNU wget utility on FreeBSD as explained here
. However, whenever I use the wget command to download stuff from the Internet, it says: ERROR: cannot verify download.freebsd.org’s certificate, issued by ‘CN=Let\’s Encrypt Authority X3,O=Let\’s Encrypt,C=US’:
Unable to locally verify the issuer’s authority.
How do I fix this problem on FreeBSD 12?
am new to Linux shell scripting. I am using a CentOS 7 Linux and Ubuntu 18.04 LTS server in the cloud. How do I check if a process is running or not on Linux? How do I determine whether a process is running or not in a shell script running on an Ubuntu server?