<aside> 💡 Frequently Used Commands & More Contents.

</aside>

https://www.youtube.com/watch?v=o8NPllzkFhE

Command Lines

My shell aliases

Remove line from files recursively based on match

find . -type f -exec sed -i '/string/d' {} \\;

Replace string in all files recursively based on match

find . -type f -exec sed -i 's/string1/string2/g' '{}' \\;

Cleanup Template Files (or others accordingly with your find params)

find . -name *.html.php | xargs rm -rf

Git v2.21.0: Download && Extract && Compile && Install

cd /usr/src
wget <https://www.kernel.org/pub/software/scm/git/git-2.21.0.tar.gz> --no-check-certificate
tar xzf git-2.21.0.tar.gz
cd git-2.21.0
perl -pi -e 's/^#~\\|.*\\n//' po/fr.po
make prefix=/usr/local/git all
make prefix=/usr/local/git install
echo "export PATH=/usr/local/git/bin:$PATH" >> /etc/bashrc
source /etc/bashrc
git --version

Wanna more from git?? Look at:

GIT