skip to Main Content

Connecting to ec2 instance from mac terminal is showing "Not a directory" – Amazon Web Sevices

apple@Apples-MacBook-Pro-2 ~ % ssh ec2-13-127-165-161.ap-south-1.compute.amazonaws.com hostkeys_find_by_key_hostfile: hostkeys_foreach failed for /Users/apple/.ssh/known_hosts: Not a directory The authenticity of host 'ec2-13-127-165-161.ap-south-1.compute.amazonaws.com (13.127.165.161)' can't be established. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])?…

VIEW QUESTION

Parsing an array with emty element – Ubuntu

Hello I am trying to parse a file into an array which contains empty elements Sample file (test) test11|test12|test13|test14 test21||test23|test24 the following funtion just print the array elements test_func() { local param=($@) echo "1: ${param[1]}, 2: ${param[2]}, 3: ${param[3]}, 4:…

VIEW QUESTION
Back To Top
Search