Skip to content

Instantly share code, notes, and snippets.


Erkin Matkaziev Erkin97

View GitHub Profile
Erkin97 /
Created Jun 18, 2019 — forked from evgeniy-trebin/
How to install specific version of elasticsearch via brew
brew tap homebrew/versions
brew cask install java
brew search elasticsearch
brew install elasticsearch@2.3
brew services start elasticsearch@2.3
Erkin97 / random file
Created Jul 9, 2018
Create random file in linux
View random file
dd if=/dev/urandom of=sample.txt bs=64M count=1
Erkin97 / script
Created Jun 19, 2018
Save output of the commands which is not tty
View script
script -q /dev/stdout -c 'command' > 'output_file'
Erkin97 / bash
Created May 18, 2018
Codename of Ubuntu/Debian/Linux Mint
View bash
lsb_release -s -c
You can’t perform that action at this time.