diff --git a/pages.fa/linux/whereis.md b/pages.fa/common/whereis.md similarity index 100% rename from pages.fa/linux/whereis.md rename to pages.fa/common/whereis.md diff --git a/pages.zh/osx/whereis.md b/pages.zh/common/whereis.md similarity index 100% rename from pages.zh/osx/whereis.md rename to pages.zh/common/whereis.md diff --git a/pages.zh/osx/yank.md b/pages.zh/common/yank.md similarity index 100% rename from pages.zh/osx/yank.md rename to pages.zh/common/yank.md diff --git a/pages/linux/whereis.md b/pages/common/whereis.md similarity index 100% rename from pages/linux/whereis.md rename to pages/common/whereis.md diff --git a/pages/linux/xar.md b/pages/common/xar.md similarity index 100% rename from pages/linux/xar.md rename to pages/common/xar.md diff --git a/pages/linux/yank.md b/pages/common/yank.md similarity index 100% rename from pages/linux/yank.md rename to pages/common/yank.md diff --git a/pages/osx/whereis.md b/pages/osx/whereis.md deleted file mode 100644 index c3a44bce1..000000000 --- a/pages/osx/whereis.md +++ /dev/null @@ -1,19 +0,0 @@ -# whereis - -> Locate the binary, source, and manual page files for a command. - -- Locate binary, source and man pages for ssh: - -`whereis {{ssh}}` - -- Locate binary and man pages for ls: - -`whereis -bm {{ls}}` - -- Locate source of gcc and man pages for Git: - -`whereis -s {{gcc}} -m {{git}}` - -- Locate binaries for gcc in `/usr/bin/` only: - -`whereis -b -B {{/usr/bin/}} -f {{gcc}}` diff --git a/pages/osx/xar.md b/pages/osx/xar.md deleted file mode 100644 index 7c6ca149f..000000000 --- a/pages/osx/xar.md +++ /dev/null @@ -1,16 +0,0 @@ -# xar - -> Manage .xar archives. -> More information: . - -- Create a xar archive of all files in a given directory: - -`xar -cf {{archive.xar}} {{path/to/directory}}` - -- Lis[t] the contents of a given xar archive: - -`xar -tf {{archive.xar}}` - -- Extract the contents of a given xar archive to the current directory: - -`xar -xf {{archive.xar}}` diff --git a/pages/osx/yank.md b/pages/osx/yank.md deleted file mode 100644 index d6741a09f..000000000 --- a/pages/osx/yank.md +++ /dev/null @@ -1,19 +0,0 @@ -# yank - -> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. - -- Yank using the default delimiters (\f, \n, \r, \s, \t): - -`{{sudo dmesg}} | yank` - -- Yank an entire line: - -`{{sudo dmesg}} | yank -l` - -- Yank using a specific delimiter: - -`{{echo hello=world}} | yank -d {{=}}` - -- Only yank fields matching a specific pattern: - -`{{ps ux}} | yank -g "{{[0-9]+}}"`