Sometimes you may need to pass shell variable in Linux. Here is how to pass variable in cURL command.
Linux
Shell Script to Restart Service if Not Running
Sometimes you may need to restart service or process in Linux, if it dies. Here is shell script to restart service if not running.
Shell Script to Read Data from Text File using For Loop
Often you may need to read file using shell script. Here is a shell script to read data from text file in Linux.
Awk split one column into multiple columns
Sometimes you may need to split one column into multiple columns. Here is how to split columns using awk command in Linux.
How to Read Variable from File in Shell Script
Sometimes you may need to read variable from file in shell script. Here is how to read variable from file.
Shell script to print output in table format
Sometimes you may need to print command output in table format. Here is a shell script to print output in table format in Linux.
How to Change PHP Version in Ubuntu
Sometimes you may need to change PHP version in Ubuntu. Here are the steps to do switch PHP version in Linux.
How to Enable Syntax Highlighting in Vim
Vim supports syntax highlighting but it is disabled by default. Here is how to enable syntax highlighting in Vim editor.
How to Run Same Command Multiple Times in Linux
How to Reload Bashrc settings Without Logging Out and Back In
You need to reload bashrc settings after you make changes to it. Here is how to reload bashrc settings without logging out and back in.