How to change nice value of process in linux?
In the “top” command, you can change the nice value of a process in linux interactively. The nice value (also ...
Read more
Top command in linux
The “top” command in Linux provides a real-time, dynamic view of the system’s performance, including information about CPU usage, memory ...
Read more
How to check CPU usage in linux?
In this following post, you will learn how to check CPU usage in linux systems. Before that, to know how ...
Read more
Print first 10 multiples of given number
Here are the simple steps to create a bash script that takes a user-input number and print the first 10 ...
Read more
For loop to list all files in a directory
Here is the simple bash script that uses a “for” loop to list all files in a directory: Syntax of ...
Read more
Bash: Unleashing the Power of While Loops in bash
In the following post, you will unleash the power of “while Loops” with Real-Time Use Cases in bash. Syntax of ...
Read more
Bash: Unleashing the Power of For Loops with Real Time Use Cases
In the following post, you will unleash the power of “For Loops” with Real-Time Use Cases. Syntax of for loop: ...
Read more
When to use square brackets, single & double parentheses in bash?
In Bash, square brackets “[]”, single parentheses “()” and double parentheses “(( ))” are used in different contexts within “if” ...
Read more
Create a bash script that checks if a file is readable and writable
Here are the simple steps to create a bash script that checks if a file is readable and writable. Create ...
Read more
Check if entered number is numeric or not using bash script
The below bash script that takes two numbers as input from the user, compares them and check if entered number ...
Read more