Skip to content

Instantly share code, notes, and snippets.

@nobucshirai
Created October 8, 2013 10:57
Show Gist options
  • Save nobucshirai/6882984 to your computer and use it in GitHub Desktop.
Save nobucshirai/6882984 to your computer and use it in GitHub Desktop.
A wrapper script of ls command to show only directories
#!/bin/bash
# $Id: dls.sh,v 1.2 2013-10-03 13:43:21+09 shirai Exp $
dls(){
ls -F $@ | grep /
}
dls $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment