HacksLinux SysAdmin Notes
How to disable SSH host key verification and bypass "The authenticity of host ***** can't be established." and "REMOTE HOST IDENTIFICATION HAS CHANGED." messages.
In this short note you'll find how to run a command from the Linux command line and repeat it multiple times using loop in Bash.
Sending mass emails for testing purposes using Bash Script from the Linux Command Line.
In this note you will find the examples of how to execute commands on a remote Linux machine and get the result locally.
This information may be very useful if you are creating some Bash Script that should be ran from the local machine and execute some commands on a remote server.
You'll learn, how to :
The following article describes the basic syntax and includes a simple example of the BASH CASE statement usage.
The CASE statement is the simplest form of the IF-THEN-ELSE statement in BASH.
Use the following test in your shell scripts to :
Sometimes, we need to check if the pattern presents in a file and take some actions depending on the result.
It can be done with the help of 'exit status codes'. Each Linux command returns a status when it terminates normally or abnormally
You can use command exit status in the shell script to display an error message or perform some sort of action.
Copyright © 2011-2017 Shell Hacks - Linux Howtos and Tutorials