From 4ef097c3581a5a5d6a740b23629e82852b59680c Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Wed, 8 Sep 2021 08:55:55 +0200 Subject: [PATCH] feh, hostname, fc, ssh-add: move to common (#6487) --- pages.zh/{osx => common}/fc.md | 0 pages.zh/{osx => common}/feh.md | 0 pages.zh/{osx => common}/hostname.md | 0 pages.zh/{osx => common}/ssh-add.md | 0 pages/{linux => common}/fc.md | 0 pages/{linux => common}/feh.md | 0 pages/{linux => common}/hostname.md | 0 pages/{osx => common}/ssh-add.md | 0 pages/linux/ssh-add.md | 24 ------------------------ pages/osx/fc.md | 16 ---------------- pages/osx/feh.md | 28 ---------------------------- pages/osx/hostname.md | 12 ------------ 12 files changed, 80 deletions(-) rename pages.zh/{osx => common}/fc.md (100%) rename pages.zh/{osx => common}/feh.md (100%) rename pages.zh/{osx => common}/hostname.md (100%) rename pages.zh/{osx => common}/ssh-add.md (100%) rename pages/{linux => common}/fc.md (100%) rename pages/{linux => common}/feh.md (100%) rename pages/{linux => common}/hostname.md (100%) rename pages/{osx => common}/ssh-add.md (100%) delete mode 100644 pages/linux/ssh-add.md delete mode 100644 pages/osx/fc.md delete mode 100644 pages/osx/feh.md delete mode 100644 pages/osx/hostname.md diff --git a/pages.zh/osx/fc.md b/pages.zh/common/fc.md similarity index 100% rename from pages.zh/osx/fc.md rename to pages.zh/common/fc.md diff --git a/pages.zh/osx/feh.md b/pages.zh/common/feh.md similarity index 100% rename from pages.zh/osx/feh.md rename to pages.zh/common/feh.md diff --git a/pages.zh/osx/hostname.md b/pages.zh/common/hostname.md similarity index 100% rename from pages.zh/osx/hostname.md rename to pages.zh/common/hostname.md diff --git a/pages.zh/osx/ssh-add.md b/pages.zh/common/ssh-add.md similarity index 100% rename from pages.zh/osx/ssh-add.md rename to pages.zh/common/ssh-add.md diff --git a/pages/linux/fc.md b/pages/common/fc.md similarity index 100% rename from pages/linux/fc.md rename to pages/common/fc.md diff --git a/pages/linux/feh.md b/pages/common/feh.md similarity index 100% rename from pages/linux/feh.md rename to pages/common/feh.md diff --git a/pages/linux/hostname.md b/pages/common/hostname.md similarity index 100% rename from pages/linux/hostname.md rename to pages/common/hostname.md diff --git a/pages/osx/ssh-add.md b/pages/common/ssh-add.md similarity index 100% rename from pages/osx/ssh-add.md rename to pages/common/ssh-add.md diff --git a/pages/linux/ssh-add.md b/pages/linux/ssh-add.md deleted file mode 100644 index b3c63e5f7..000000000 --- a/pages/linux/ssh-add.md +++ /dev/null @@ -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` diff --git a/pages/osx/fc.md b/pages/osx/fc.md deleted file mode 100644 index 81a0c82c1..000000000 --- a/pages/osx/fc.md +++ /dev/null @@ -1,16 +0,0 @@ -# fc - -> Open the most recent command and edit it. -> More information: . - -- Open in the default system editor: - -`fc` - -- Specify an editor to open with: - -`fc -e {{'emacs'}}` - -- List recent commands from history: - -`fc -l` diff --git a/pages/osx/feh.md b/pages/osx/feh.md deleted file mode 100644 index e4f0cd101..000000000 --- a/pages/osx/feh.md +++ /dev/null @@ -1,28 +0,0 @@ -# feh - -> Lightweight image viewing utility. -> More information: . - -- 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}}` diff --git a/pages/osx/hostname.md b/pages/osx/hostname.md deleted file mode 100644 index 139b473d4..000000000 --- a/pages/osx/hostname.md +++ /dev/null @@ -1,12 +0,0 @@ -# hostname - -> Show or set the system's host name. -> More information: . - -- Show current host name: - -`hostname` - -- Set current host name: - -`hostname {{new_hostname}}`