asdasd
Add to ~/.bashrc
if [ -f ~/.bash_functions/my_functions.sh ]; then
source ~/.bash_functions/my_functions.sh
fi
#!/bin/bash
grepp() {
grep -i "$@"
}
countlines() {
wc -l "$@"
}
findtext() {
find . -type f -exec grep -l "$1" {} \;
}
Add to ~/.bashrc
if [ -f ~/.bash_functions/my_functions.sh ]; then
source ~/.bash_functions/my_functions.sh
fi
#!/bin/bash
grepp() {
grep -i "$@"
}
countlines() {
wc -l "$@"
}
findtext() {
find . -type f -exec grep -l "$1" {} \;
}