Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
Shell/Bash
2021-10-23 00:12:08
hide permission denied ~/.bash
find /path/to/dir -name "search-patter" 2>&1 | grep -v "Permission denied" > output-file find /etc -name "x*.conf" 2>&1 | grep -v "Permission denied" > output.txt
Add solution
Shell/Bash
2021-10-21 14:19:13
cp all except one folder
cp -r `ls -A | grep -v "Folder or file name"` destination
Add solution
Shell/Bash
2021-10-19 06:50:16
list all ppa repository ubuntu
egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
Add solution
Shell/Bash
2021-10-16 13:43:03
apt-get install language-pack-utf-8
#Available Locales apt-cache search language-pack- | grep -v -E -- '-kde|-base|-gnome'
Add solution
Shell/Bash
2021-10-14 00:33:03
docker.service: Unit entered failed state.
# Try this it will fix on docker ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sudo sh
Add solution
Other
2021-10-10 19:47:11
kafka empty consumer group
ps -ef | grep GroupName | grep -v grep | awk '{print $2}' | xargs kill bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 \ --delete --group GroupName
Add solution
Other
2021-10-07 05:37:02
grep ignore lines
grep -v #invert your matches
Add solution
Shell/Bash
2021-10-04 09:19:04
how to delete all branches in git except master
$ git branch | grep -v "master" | xargs git branch -D
Add solution
Shell/Bash
2021-09-30 20:20:02
git delete pruned branches
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
Add solution
Shell/Bash
2021-09-30 08:02:02
github get parent branch
git show-branch -a \| grep '\*' \| grep -v `git rev-parse --abbrev-ref HEAD` \| head -n1 \| sed 's/.*\[\(.*\)\].*/\1/' \| sed 's/[\^~].*//'
Add solution
‹
1
2
3
4
5
6
7
›
Best helpers
daily
weekly
monthly
for 3 months
Ranking is empty
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.