In order to search for a pattern string in all files under a specific directory you can use following command:
find $dir -exec grep $pattern {} \; -print
just replace $dir with the directory you want to start searching in and $patter with patter you are searching for.
for example:
find /etc -exec grep support {} \; -print
Subscribe to:
Post Comments (Atom)
solving error: Your current user or role does not have access to Kubernetes objects on this EKS cluster.
Trying to access EKS cluster with kubectl you might get an error similar to: Your current user or role does not have access to Kubernetes ob...
-
Following information is intended for bash shell only. The system variable TMOUT can be set to specify the amount of time the user is ina...
-
Oracle provides a free and public yum server to update it`s Enterprise Linux distribution. It is easy to set-up and it supports versions 4,...
-
If you want to set Filezilla ftp server to handle passive connections on your AWS EC2 instances, you should do the following. Select no...
No comments:
Post a Comment