Guest User

Untitled

a guest
Dec 15th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. find . -maxdepth 1 -type d -regex './[0-9]+'
  2. ls -d +([0-9])
  3.  
  4. find . -maxdepth 1 -type d -name '[0-9]*'
  5.  
  6. find . -maxdepth 1 -type d -regex './[0-9]{6}'
  7. find . -maxdepth 1 -type d -name '[0-9]{6}'
  8. find . -maxdepth 1 -type d -name '[0-9]+'
  9.  
  10. find . -maxdepth 1 -type d -regextype posix-egrep -regex './[0-9]{6}'
Add Comment
Please, Sign In to add comment