Quantcast
Channel: Bash Script | 2DayGeek
Browsing latest articles
Browse All 25 View Live

Bash Script to Check Successful and Failed User Login Attempts on Linux

One of the typical tasks of Linux administrators is to check successful and failed login attempts in the Linux system. This ensures that there are no illegal attempts at the environment. It is very...

View Article



Bash Script to Monitor CPU, Memory and Swap usage on Multiple Linux System...

You have a small infrastructure and want to check multiple system performance simultaneously for some reason. This script will help you to create a report for you. You can use this script to generate...

View Article

Bash Script to Check How Long the High CPU/Memory Consumption Processes Runs...

In the past, we have written three different articles to identify this using Linux commands. You can access them immediately by going to the relevant URLs below. How to Find High CPU Consumption...

View Article

Bash Script to Send eMail With a List of User Accounts Expiring in “X” Days

The password enforcement policy is common to all operating systems and applications. If you want to implement a password enforcement policy on Linux, go to the following article. The password...

View Article

How to Check Password Expiration Date for All Users on Linux

If you enable a password policy on Linux. The password must be changed before it expires, and you will be notified when you log in to the system. If you rarely use your account,...

View Article


How to kill all user sessions using shell script in Linux?

System administrator task can be automated in various ways in Linux. It drastically reduces the human efforts and saves reasonable time which can be utilized for other productive tasks. shell script is...

View Article

Image may be NSFW.
Clik here to view.

How to get Battery status notification, when the battery is Full or Low?

Linux OS in Laptops are good for Nix users, but it often drains the battery. Have tried many Linux operating systems, but long battery life is not evident like Windows. Recommended to avoid charging a...

View Article

How to Find SAN disk LUN id in Linux

In some cases, you may need to find a block device mapped against a logical unit number (LUNs) for filesystem (FS) expansion or disaster recovery (DR) activity. Also, this information is required if...

View Article


Image may be NSFW.
Clik here to view.

How to map SAN LUN, Disk and FileSystem in Linux

For some requirements, you may need to find a block device mapped against a logical unit number (LUNs) and filesystem (FS) for FS expansion or disaster recovery (DR) activity. Similar activity may...

View Article


Image may be NSFW.
Clik here to view.

How to map LUN, Disk, LVM and FileSystem in Linux

There are situations where you want to map storage LUN (Logical Unit Number), Block Device, LVM (LV & VG names) and File System (FS) information for FS expansion or Disaster Recovery (DR)...

View Article
Browsing latest articles
Browse All 25 View Live




Latest Images