blob: d76bafbb01499652d354fbfcf5049583ec51febc (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
echo "Ye find yeself in yon $(pwd)"
echo
echo "Ye see:"
find -L . -maxdepth 1 \! -iname '.*' -type f | sed 's,^./, ,'
echo
echo "Obvious exits are:"
[ "$(pwd)" = '/' ] || echo " .."
find -L . -maxdepth 1 \! -iname '.*' -type d | sed 's,^./, ,'
|