feh, hostname, fc, ssh-add: move to common (#6487)

beep
marchersimon 2021-09-08 08:55:55 +02:00 committed by GitHub
parent cac13976b0
commit 4ef097c358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 0 additions and 80 deletions

View File

@ -1,24 +0,0 @@
# ssh-add
> Manage loaded ssh keys in the ssh-agent.
> Ensure that ssh-agent is up and running for the keys to be loaded in it.
- Add the default ssh keys in `~/.ssh` to the ssh-agent:
`ssh-add`
- Add a specific key to the ssh-agent:
`ssh-add {{path/to/private_key}}`
- List fingerprints of currently loaded keys:
`ssh-add -l`
- Delete a key from the ssh-agent:
`ssh-add -d {{path/to/private_key}}`
- Delete all currently loaded keys from the ssh-agent:
`ssh-add -D`

View File

@ -1,16 +0,0 @@
# fc
> Open the most recent command and edit it.
> More information: <https://ss64.com/osx/fc.html>.
- Open in the default system editor:
`fc`
- Specify an editor to open with:
`fc -e {{'emacs'}}`
- List recent commands from history:
`fc -l`

View File

@ -1,28 +0,0 @@
# feh
> Lightweight image viewing utility.
> More information: <https://github.com/derf/feh>.
- View images locally or using a URL:
`feh {{path/to/images}}`
- View images recursively:
`feh --recursive {{path/to/images}}`
- View images without window borders:
`feh --borderless {{path/to/images}}`
- Exit after the last image:
`feh --cycle-once {{path/to/images}}`
- Set the slideshow cycle delay:
`feh --slideshow-delay {{seconds}} {{path/to/images}}`
- Set your wallpaper (centered, filled, maximized, scaled or tiled):
`feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}`

View File

@ -1,12 +0,0 @@
# hostname
> Show or set the system's host name.
> More information: <https://www.tutorialspoint.com/unix_commands/hostname.htm>.
- Show current host name:
`hostname`
- Set current host name:
`hostname {{new_hostname}}`