From 8f4e11ada7b2dd32c3cc0dca4f96b0f4cd4aea68 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Fri, 27 Jul 2018 20:36:35 -0300 Subject: [PATCH] Adding the ssh-add script that checks if there is an identity before add one --- README.md | 18 ++++++++++++++---- SSH/check-ssh-identity.sh | 3 +++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100755 SSH/check-ssh-identity.sh diff --git a/README.md b/README.md index 4845e06..85b4252 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # linuxShortcuts +## apt-get +### update.sh +A basic script to update your packages with apt-get + +## Egnyte +### pathToEgnyte.sh +A simple script that converts Egnyte file paths from Z:\ to our company website URL + ## Pacman ### aur Just a simple and fast shortcut to install aur packages using aurman with no confirmation. @@ -10,11 +18,13 @@ Just a simple and fast shortcut to install aur packages using aurman with no con **Example**: for `visual-studio-code-bin` just type `aur visual-studio-code-bin`. It will ask for your root password and it will install it with all dependencies. - ### updateRepositories.sh A basic script to update the original packages with Pacman and aurman +## Services +### run-media-bruno-Multimedia.mount +My script to mount a partition out of `FSTAB` -## apt-get -### update.sh -A basic script to update your packages with apt-get +## SSH +### check-ssh-identity.sh +Add a ssh identity if there is none. diff --git a/SSH/check-ssh-identity.sh b/SSH/check-ssh-identity.sh new file mode 100755 index 0000000..0695cbe --- /dev/null +++ b/SSH/check-ssh-identity.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# Add a SSH identity if nothing were found +ssh-add -l > /dev/null || ssh-add