Skip to content

Commit

Permalink
fix typo in deleteKnownHostEntry.sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
sufinawaz committed Aug 18, 2020
1 parent 7f700eb commit d0ec2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deleteKnownHostEntry.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ if [[ -z $1 ]]; then
echo "Usage: ./deleteKnownHostEntry.sh lineNumber"
exit
fi
sed -e '$1d' ~/.ssh/known_hosts
sed -e "${1}d" ~/.ssh/known_hosts

0 comments on commit d0ec2a0

Please sign in to comment.