Skip to content

Instantly share code, notes, and snippets.

Avatar
🕶️
noetamxir

Erkin Matkaziev Erkin97

🕶️
noetamxir
View GitHub Profile
@Erkin97
Erkin97 / brew_elasticsearch.sh
Created Jun 18, 2019 — forked from evgeniy-trebin/brew_elasticsearch.sh
How to install specific version of elasticsearch via brew
View brew_elasticsearch.sh
brew tap homebrew/versions
brew cask install java
brew search elasticsearch
brew install elasticsearch@2.3
brew services start elasticsearch@2.3
@Erkin97
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
Erkin97 / script
Created Jun 19, 2018
Save output of the commands which is not tty
View script
#bash
script -q /dev/stdout -c 'command' > 'output_file'
@Erkin97
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.