I would like to check if both files exist, but I am getting
test.sh: line 3: [: missing `]\'
Can anyone see what\'s wrong?
#!/b
Try adding an additional square bracket.
if [[ -f .ssh/id_rsa && -f .ssh/id_rsa.pub ]]; then