grep: invalid option -- t
This happens when there is a file in the local directory that has a name that starts with a “-”, for exampe “-t ”
remove the file with: rm -i ./-t and then grep will work
Blog for System ,Security,Network ,Data Center Administrators , PeopleSoft HCM Technical & Functional , Oracle & SAP.
No comments:
Post a Comment