unix - grep match that not starting and starting -


i want print path starting /alex/

/alex/   path=/alex/   path = /alex/ b/alex  no match:      b/alex  other match 

i use command :

grep -rv "[0-9aa-zz]/alex/" . | grep "/alex/" 

how can use 1 grep print?

/alex/  path=/alex/   path = /alex/ 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -