How to test ssh connection using bash script in Linux

Jul 22, 2018

There can be multiple scenarios due to which ssh connection may fail, some of them can be [![man working late](man-working-late.webp)](man-working-late.webp) * network issues * password incorrect * passphrase incorrect * and many

sed: Ignore whitespace while matching a pattern

Dec 17, 2017

In my last articles I had shared the arguments with sed which can be used to [perform case insensitive actions (search, replace..) in a file]({{< relref "sed-case-insensitive-actions-search/index.md" >}}) and to [delete all blank

sed :Replace whole line when match found

Jun 25, 2017

Here our requirement is to replace a line with our content when a match is found with in the file Our sample file /tmp/file This is line one This is