After following these steps, your terminal will look like:
Zsh is a shell designed for interactive use, although it is also a powerful scripting language.
sudo apt-get install wine -y | |
wget http://www.mikrotik.com/download/winbox.exe | |
sudo mv winbox.exe /bin | |
wine /bin/winbox.exe | |
# alias winbox='wine /bin/winbox.exe' |
version: '2' | |
volumes: | |
esdata: | |
external: true | |
driver: local | |
edatanode: | |
external: true | |
driver: local | |
services: | |
elasticsearch: |
#!/bin/sh | |
aria2c --dir=./ --input-file=urls.txt --max-concurrent-downloads=1 --connect-timeout=60 --max-connection-per-server=16 --split=16 --min-split-size=1M --human-readable=true --download-result=full --file-allocation=none | |
date | |
# Now create this file in the same directory and paste all urls in it: urls.txt | |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
#!/bin/sh | |
#Check the Drive Space Used by Cached Files | |
du -sh /var/cache/apt/archives | |
#Clean all the log file | |
#for logs in `find /var/log -type f`; do > $logs; done | |
logs=`find /var/log -type f` | |
for i in $logs |