How to timeout user input in Linux Bash Shell ?
In Linux, we use read command to take the user input. However sometimes, we may need to timeout the user input to automate the script execution in case no one...
Here we will find tips and tricks for shell script creation in linux.
In Linux, we use read command to take the user input. However sometimes, we may need to timeout the user input to automate the script execution in case no one...
In this post, we will check a small command to check network cable status on all eth or network interfaces of our Linux system. Ideally we used to check for...
Today we will look what is : in bash shell in Linux or Unix and how to use it, and what is its impact if used. What is : (colon)...
Here we will check how to get RSS(Resident Set size) memory i.e. total KBs of memory usage in RAM, and VSZ(Virtual Size) memory i.e. total memory usage including ram, swap,...
Here we will check a quick tip how to read a file using bash for loop. We know this is easily possible with “do while” loop and other ways. Lets...
In this post, we will check out small script which takes hostname and IP address from the user and add it to /etc/hosts file of our Linux system automatically. So...
We faced a strange issue where a segmentation fault occurs randomly on server and there are no logs captured on server to analyze the issue. In this situation, we got...
Now we will look how to mount a CD/DVD rom drive on Linux/Unix drive automatically on system reboot. We can use the below command/script in /etc/profile or /etc/rc.sysinit or similar...