從資料夾 /home/ubuntu/Documents 底下找出符合字串 Hello World! 的檔案,並顯示該字串在哪一行出現。
$ grep -R -n 'Hello World!' /home/ubuntu/Documents
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / 變更 )
You are commenting using your Twitter account. ( Log Out / 變更 )
You are commenting using your Facebook account. ( Log Out / 變更 )
連結到 %s
有新迴響時用Email通知我
有新文章時用Email通知我
Get every new post delivered to your Inbox.