summary refs log tree commit diff
path: root/snippets/sh
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-01-27 13:39:54 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-01-27 13:39:54 -0800
commit9a5d1b0956c5b86984d519028269cf128caf2908 (patch)
tree2b723642d3a56e1c43416011a8559173d6a84b07 /snippets/sh
parent[README] Convert README from md to org. (diff)
downloademacs.d-9a5d1b0956c5b86984d519028269cf128caf2908.tar.gz
[snippets] I won't manage them that way.
Diffstat (limited to 'snippets/sh')
-rwxr-xr-xsnippets/sh/modules-info.sh3
-rwxr-xr-xsnippets/sh/ssh-check-fingerprint.sh4
-rwxr-xr-xsnippets/sh/top-10-processes.sh3
3 files changed, 0 insertions, 10 deletions
diff --git a/snippets/sh/modules-info.sh b/snippets/sh/modules-info.sh
deleted file mode 100755
index a0d1733..0000000
--- a/snippets/sh/modules-info.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-modinfo $(cut -d' ' -f1 /proc/modules) | sed '/^dep/s/$/\n/; /^file\|^desc\|^dep/!d'
diff --git a/snippets/sh/ssh-check-fingerprint.sh b/snippets/sh/ssh-check-fingerprint.sh
deleted file mode 100755
index 517fb5b..0000000
--- a/snippets/sh/ssh-check-fingerprint.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-KEY=${1:-$HOME/.ssh/id_rsa.pub}
-ssh-keygen -lf "${KEY}"
diff --git a/snippets/sh/top-10-processes.sh b/snippets/sh/top-10-processes.sh
deleted file mode 100755
index 816d74b..0000000
--- a/snippets/sh/top-10-processes.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-ps auxf | sort -nr -k 4 | head -10