What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-24 04:40:09
grep cheat sheet
#!/bin/sh #http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/ # GENERAL # print lines begining with range of letters grep ^[A-D] table.txt # REGEX # search for word which has any single... Add solution -
Shell/Bash 2021-10-18 12:46:08
how to enable the non-free archive repos or Universe and Multiverse repos for Ubuntu
ONE option available for newer releases of Ubuntu: $ sudo su $ apt-add-repository multiverse && apt-add-repository universe && apt-add-repository restricted && apt-get update And some other way! --> Examples: apt-add-reposit... Add solution -
Shell/Bash 2021-10-09 14:46:14
debian full install qt5
apt install --reinstall qt5-default qttools5* pyqt5-dev-tools libqt5* python3-pyqt qt5-* qtbase5-* qtcreator build-essential\ qtdeclarative5* libqt5webkit5* mesa-common-* libglu1-mesa-* apt install `apt-cache search 5-examples | grep qt | grep example | ... Add solution -
Shell/Bash 2021-09-24 22:41:06
zsh bash count directories
$ ls -l .vim | grep -c ^d 11 $ ls -l .vim total 52 drwxrwxr-x 3 anossovp anossovp 4096 Aug 29 2012 after drwxrwxr-x 2 anossovp anossovp 4096 Aug 29 2012 autoload drwxrwxr-x 13 anossovp anossovp 4096 Aug 29 2012 bundle drwxrwxr-x 2 anossovp anossov... Add solution -
Shell/Bash 2021-08-29 01:34:01
number of files in directory ubuntu
# To count files (even files without an extension) at the root of the current directory, use: ls -l | grep ^- | wc -l # To count files (even files without an extension) recursively from the root of the current directory, use: ls -lR | grep ^- | wc -l Add solution -
Best helpers
Ranking is empty