Linuxopsys.com

How to Use systemctl status Command to Check Service Status

The systemctl status command is the easiest way to get a snapshot of your Linux system's service's health. You can use it to quickly find out which services are running, and services … See more

Actived: 4 days ago

URL: https://linuxopsys.com/topics/systemctl-status-command

How to Shrink Root Partition without Live CD/USB

WebIn the script, we will use e2fsck to check filesystem health and resize2fs to shrink the filesystem. Using fdisk we perform the following task in the script. Start delete …

Category:  Health Go Health

Shell Script to Check Linux Server Health

WebBash Scripting. In this tutorial, we will show how to write a shell script to perform a Linux server health check. This script collects system information and status …

Category:  Health Go Health

How to Test SSD/HDD Health in Linux

WebTest SSD/HDD Health using Gnome Disks. With GNOME disks utility you can get a quick review of your SSD drives, format your drives, create a disk image, run …

Category:  Health Go Health

How to Check LUN or SAN Disk in Linux

Web1. Check attached LUN or SAN disk in Linux. To check the attached LUN from a storage device in Linux, we can use the /proc/scsi/scsi file content but it will give …

Category:  Health Go Health

Understanding top Command CPU Usage

WebYou can use lscpu command to get information about the number of threads per core. By default, the processes are sorted by the %CPU column in descending order. …

Category:  Health Go Health

How to Find UUID in Linux

WebUUID (Universally Unique identifier) is a 128-bit unique number standardized by the Open Software Foundation. UUID helps to identify partitions in Linux systems. It is …

Category:  Health Go Health

Bash Parameter Expansion with Cheat Sheet

WebBash parameter expansion or parameter expansion is defined by the ‘$’ symbol and the optional curly brackets ( { }). The parameter expansion is used with the …

Category:  Health Go Health

How to Use ethtool Command with Examples

WebThe ethtool command is used to display/change Ethernet adapter settings. You can change network card speed, auto-negotiation, wake on LAN setting, duplex mode …

Category:  Health Go Health

How to Pass all Arguments in Bash Scripting

Web1. Bash Pass all Arguments as String. In bash script, to pass all arguments as string we use $*. As discussed earlier, we can set the IFS depending on our specific …

Category:  Health Go Health

How to Do Bash Variable Substitution (Parameter Substitution)

WebSubstitute variable using the parameter. You can substitute bash variables by using “$ {parameter}”. In the following script, three variables have been initialized with …

Category:  Health Go Health

How to List Mounted Drives on Linux

WebIn Linux, mount command mounts a storage device or filesystem, and let's go through commands that can display all those mounts. 1. Listing from /proc using cat …

Category:  Health Go Health

How to Mount CIFS Share in Linux with Examples

WebStep 1: Install the cifs-utils Package. The Linux CIFS filesystem access utility is part of the cifs-utils package. The mount command indirectly invokes the mount.cifs …

Category:  Health Go Health

50 Bash Script Examples to Kickstart Your Learning

WebMaster the Power of Bash Scripting with These 50 Unique Examples - Boost Your Productivity and Unleash the Full Potential of Your Linux System Today!"

Category:  Health Go Health

Linux NFS Mount Entry in fstab (/etc/fstab) with Example

WebExample NFS fstab entry. A sample fstab entry for NFS share is as follows. host.myserver.com:/home /mnt/home nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 …

Category:  Health Go Health

Ansible Playbook to Install and Setup Apache on Ubuntu

WebAnsible is an open-source configuration management and application deployment tool. It helps to reduce managerial overhead by automating the deployment …

Category:  Health Go Health

How to Read JSON file in Shell Script

WebThe input_file variable contains the name of our JSON file and for the data_age variable we specified our command inside backticks. In bash backticks (`) are …

Category:  Health Go Health

Bash Modulo (Division Remainder)

WebBash modulo operator is used to find the remainder. The modulus operation can be performed on integers as well as floating point numbers. The precedence of Bash …

Category:  Health Go Health

Shell Script to Check Disk Space and Send Email Alert

WebThis shell script monitors disk usage and send an email notification when it exceeds 90%. Additionally, it logs the disk usage information to a log file.

Category:  Health Go Health