BASH

Alias

  1. Using Bash alias to keep things simple

Backup and Archive

  1. Using Find and Tar Together to Backup and Archive

BASH Script

  1. Simple BASH script to setup shared SSH keys on Cluster
  2. Quick and Dirty way to ensure only one instance of a shell script is running at a time
  3. Checking and Modifying Timestamp of whole Directory recursively

Disk Usages

  1. How to check Disk Usage
  2. Checking Disk Usage within the subfolders
  3. Checking Disk Usage within the subfolders but avoid mount-point
  4. Listing 50 biggest files in Recursive Directories.

Error

  1. /bin/rm : Argument list too long

Expect

  1. Linux expect and spawn id exp6 not open issue

Interacting with Remote Server

  1. Basic CURL Commands

Memory

  1. Another way to calculate shared memory swapping
  2. Checking the Limits an application is imposed during run

Manipulating Files and Directories

  1. Using BASH command Find to locate files – Part 1
  2. Using BASH command Find to locate files – Part 2
  3. Using BASH to read Keyboard Input
  4. Sorting ls Output Based on Time and Date
  5. Using Find to Search Better
  6. Listing and Sorting Files

Processes

  1. Checking nproc limits
  2. Finding Top Processes using Highest Memory and CPU Usage in Linux
  3. Finding physical cpus, cores and logical cpus
  4. Listing processes for a specific user
  5. Running process in the background

Runlevel

  1. Change Runlevel of Rocky Linux 8 without rebooting

SHELL

  1. chsh -s /bin/tcsh and you (user) don’t exist error

TimeStamp

Using BASH to change timestamp Recursively

Using strace

  1. Using strace to detect df hanging issues on NFS

UUID

  1. Generate UUID for Network Interface for CentOS

Writing Better

  1. Shortening BASH Commands (Part 1)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.