On Sat, Apr 10, 2010 at 06:26:12PM +0200, finkler wrote:
> This is my collection of redundancy so far:
> arch          uname -m
> dir           ls -C
> groups                id -nG
> head          sed 11q
> mkfifo                mknod FILE q
> nl            grep -n
> rmdir         rm -r
> tac           tail -r
> vdir          ls -l
> whoami                id -nu

grep requires some pattern, grep -n . works.
Another variant of nl:
    awk '{ print NR"\t"$0 }'

rmdir will delete only empty directories, rm -r will delete them recursive.

dir is replaced by lc on Plan 9, lc is alias for ls -p | mc


Reply via email to