Download script
wget https://gist.githubusercontent.com/kubaceg/4277ab6f7a2dcaae66bb/raw/5f7e178ca8d76858258038aa5cb6903a36f71ad6/magento-log
Make it executable
chmod +x mageno-log
If you want to use the command system wide you can copy it to /usr/local/bin
sudo cp ./n98-magerun.phar /usr/local/bin/
Just execute magento-log
in your Magento installation main directory (place where Magento index.php is)
- tmux