
Sometimes you may get “SSH Connection Refused” error while trying to log into SSH. Here is how to fix SSH Connection refused error.
Sometimes you may get “SSH Connection Refused” error while trying to log into SSH. Here is how to fix SSH Connection refused error.
Sometimes you may need to copy contents of folder to another folder. Here is how to copy files from one directory to another.
Sometimes you may need to exclude directory & files while using grep command. Here is how to exclude files & directories in grep command.
Sometimes you may need to exclude multiple words or patterns while using grep command. Here is how to exclude word pattern in grep.
Sometimes you may need to copy file to multiple directories in Linux. Here is how to copy files to multiple folders.
Sometimes you may need to iterate over lines in file. Here is a shell script to loop over lines of file in bash.
Very often you may need to tar files & directories in Linux. Here is a simple shell script to tar multiple files & directories in Linux.
Sometimes you may need to check if directory exists in bash or other shells. Here is a shell script to check if directory exists.
Very often you need to delete files in a directory. Here is a shell script to delete files in a directory.
Sometimes you may need to pass arguments and parameters to shell script functions. Here are the steps for passing parameters to shell script functions.