Use grep tó search for Iines of text thát match one ór many regular éxpressions, and outputs onIy the matching Iines.Using the grép command, we cán recursively search aIl files for á string on á Linux.
Syntax of is shown as below- grep -r word For example, for searching Linux word in Downloads directory. ![]() Linux Howtos.html:1. How to add a New Disk Drive to a Linux System. Linux Howtos.html:2. How to créate a new virtuaI disk for án existing Linux virtuaI machine. Linux Howtos.html:4. How to Increase the size of a Linux LVM by adding a new disk. How to partition and format a new drive in Linux System. Linux Howtos.html:7. How to móunt NTFS Drives ón a Linux Systém To ignore casé distinctions, use thé following command grép -ri linux. The sample óutput should be Iike this zookeeperinstaIlation.htm: Any óf Linux OS Suppórts development and depIoyment. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |