Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep find files

grep -r “docker-compose.yaml” /etc

or

sudo find / | grep -i "docker-compose.yaml"

or

ll | grep -i "docker-compose.yaml"
Comment

grep search in file bash

#!/bin/bash
grep "$1" $2 # Search the string $1 in the file $2
Comment

PREVIOUS NEXT
Code Example
Shell :: git clone 
Shell :: how to fix There are stopped jobs in bash 
Shell :: step6 pgadmin ubuntu 20.04 
Shell :: wormhole for linux 
Shell :: how to install helm 
Shell :: shell count number of columns 
Shell :: .aws directory not found 
Shell :: dig check dmarc record 
Shell :: does Ubuntu MATE have ssh 
Shell :: linux mint 
Shell :: how to clear a file without deleting it linux 
Shell :: install composer v2 ubuntu 
Shell :: git push http access denied 
Shell :: git connect local to remote 
Shell :: btop++ on ubuntu 
Shell :: windows use lf instead of crlf 
Shell :: how to make ngrok not expired 
Shell :: samba check config 
Shell :: how to remove file from directory in linux 
Shell :: react native cannot connect to metro server 
Shell :: find powershell psreadline history path 
Shell :: command to create jpeg in linux 
Shell :: install a package that is not in conda 
Shell :: reload terminal mac zsh 
Shell :: boot linux from dos 
Shell :: fix corrupt pdf command line 
Shell :: how to connect mongocell in ubuntu 
Shell :: openjdk-17-jdk 
Shell :: create fish alias 
Shell :: add environment variable linux 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =