When you install Java with default apt install command on Ubuntu or CentOS Linux OS then it will install Java under default folder /usr/bin/java. First thing first. How to install or upgrade …
Linux and Unix Tutorials Archives...
Beginners guide to the UNIX / Linux operating system. I do work on Linux console terminal every day. Some of my favorite tips and tutorials which includes Shell script and Bash programming.
My Favorite Linux Commands – List of Top 25+ Basic Linux Commands and Cheat Sheet
I've been working on Linux environment since very long time and recently explored a lot more commands. In this tutorial we will go over some most commonly used Linux Commands for your handy …
How to SSH-Login to your Shared Hosting Account using ‘SSH Access’ Utility in cPanel?
I tried setting up SSH Access from cPanel first time last week and it worked seamlessly without any issue. I was able to login and execute some commands to check higher CPU usage and memory …
What is uptime in Linux & How to Parse Result in Java using Regular Expression (RegEx)?
What is uptime in Linux? Sometimes you have to get load averages from uptime result via Java Program to perform certain operations. Like nuke, restart app, etc based on high load average. I'm …
Bash / Sh: How to read a file line by line? Linux Loop example
What is a simple way to run simple Linux Loop? How to read file line by line? There are many-many way to read file in bash script, look at the first section where I used while loop along with pipe …
Read Article about Bash / Sh: How to read a file line by line? Linux Loop example →
How to Automatically Delete /tmp folders in Linux? Automatic Disk Log Cleanup Bash Script
Here is a simple script which will perform Automatic Disk Log Cleanup for any Linux Environment. You just have to provide correct [crayon-628c2a4ab1379038763491-i/] . When a disk has no free …
syntax error: `^M’ unexpected – Use dos2unix: DOS to UNIX text file format converter
Last week I was working on an Eclipse project which requires me to create one executable .sh (shell script) file. Here is a content of Crunchify.sh file. [crayon-628c2a4ab1419411436389/] I was …