mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 22:30:51 +00:00
Adding the ssh-add script that checks if there is an identity before add one
This commit is contained in:
parent
f95d6ecb4f
commit
8f4e11ada7
18
README.md
18
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.
|
||||
|
3
SSH/check-ssh-identity.sh
Executable file
3
SSH/check-ssh-identity.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Add a SSH identity if nothing were found
|
||||
ssh-add -l > /dev/null || ssh-add
|
Loading…
Reference in New Issue
Block a user