dot

packages and services management
Log | Files | Refs | README

commit 4e58838e1951cee2efd1958c5a9caf8b435b7ff3
parent ee22bcafd0cf9ebe3a5b4e3f8b957494f715d81c
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue,  5 Dec 2017 12:21:20 +0100

io-mount and io-pwd to display and filter quickly

Diffstat:
Abin/io-mount | 12++++++++++++
Abin/io-pwd | 9+++++++++
2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/bin/io-mount b/bin/io-mount @@ -0,0 +1,12 @@ +#!/bin/sh + +{ + printf '#spec .file .vfstype .mntops .freq .passno\n' | + cat - /etc/fstab | column -ts ' ' + + { + printf '#device . .path . .type .mntops\n' + mount + } | column -ts ' ' + +} | iomenu -# -p mounts diff --git a/bin/io-pwd b/bin/io-pwd @@ -0,0 +1,9 @@ +#!/bin/sh + +{ + printf '#name: pw: uid: gid: class: home_dir: shell\n' | + cat - /etc/passwd | column -ts : + + printf '#group: pw: gid: member\n' | + cat - /etc/group | column -ts : +} | iomenu -#