Tag: Linux
Writing Bash Scripts
2021-08-15To Bash or not to Bash
Writing shell scripts can automate command execution and help us become more productive. Bash is the default shell for most linux distributions.
Which Bash
Check that your have Bash installed.
$ which bash …
How to use "grep" command
2021-08-13Syntax
grep [OPTION...] PATTERNS [FILE...]
grep [OPTION...] -e PATTERNS ... [FILE...]
grep [OPTION...] -f PATTERN_FILE ... [FILE...]
The grep
command takes in text from stdin or a file.
Quick Examples
example.txt
The lady with the …
Installing MongoDB Server on Ubuntu
2021-05-26Installing MongoDB Community Server on Ubuntu 20.04 LTS
Ubuntu on Windows Subsystem for Linux cannot use this method because systemd is not enabled.
- Import MongoDB GnuPG public key
wget -qO - …