What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-15 13:42:10
find in file linux
grep -rnw '/path/to/somewhere/' -e 'pattern' Add solution -
Shell/Bash 2021-11-15 01:06:16
grep all files recursively
grep -r "texthere" . Add solution -
Shell/Bash 2021-11-14 19:27:19
remove dock from ubuntu
To completely uninstall Docker: Step 1 dpkg -l | grep -i docker To identify what installed package you have: Step 2 sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli sudo apt-get autoremove -y --purge docker-engine docker do... Add solution -
Shell/Bash 2021-11-14 06:17:10
Maximum upload file size: 2 MB
Step 1: find php.ini file in /etc folder by running below cmd: grep -rl "post_max_size" | xargs ls -lrth Here I have used post_max_size keyword to search php.ini file as might be we have to change the same on other file , It can vary ... Add solution -
Shell/Bash 2021-11-14 01:13:14
kill process by name
###################################################### # How to Kill the supervisord process without the PID ###################################################### ps -ef | grep 'supervisord' | grep -v grep | awk '{print $2}' | xargs -r kill -9 Add solution -
Shell/Bash 2021-11-13 06:23:22
linux grep
# EXAMPLE 1: look for any files (with names ending in ".c++") for the text "::MethodA(" grep "::MethodA(" *.c++ # EXAMPLE 2: display only the matching file names (not the row too) of the matches grep -l "MethodA(" ... Add solution
Best helpers
Ranking is empty