Category: Bash / Terminal / Scripts

31.01.2017

Hardware Assembly: (i think 512MByte should be enough, 1GByte probably pretty good) Software Installation: including squid-proxy and web advertisement-filtering in the next part: OpenVPN 🙂 Thanks man! Amazing tutorials! by https://internetz.me Related Links: https://www.howtoforge.com/pfsense-squid-squidguard-traffic-shaping-tutorial http://www.shallalist.de/Downloads/shallalist.tar.gz

31.01.2017

ip address add 192.168.100.200/24 dev eth0 will add ip 192.168.100.200 to your eth0 / LAN, in case you need to access more subnets than the default DHCP-subnet. please also checkout this amazingly cool youtube video tutorial on how to build […]

12.10.2016

from recording a webradio i had a load of those files, which were kind of tricky to delete. The trick is to use find instead of rm. [cc lang=”bash” escaped=”true” width=”600″] find -name “*————— – —————*”; #dry run ./————— – […]

27.08.2016

you can either use wget to download the webpage or use Firefox Ctrl+S (Save As) [cc lang=”bash” escaped=”true” width=”600″] wget http://domain.com/website.html; # download webpage # become root sudo bash; # or su; apt-get update; apt-get install lynx; lynx -dump “website.html” […]

02.08.2016

apt-cache show evolution-common; # show info about package (if installed or not) Package: evolution-common Source: evolution Version: 3.12.9~git20141130.241663-1 Installed-Size: 45834 Maintainer: Debian Evolution Maintainers <pkg-evolution-maintainers@lists.alioth.debian.org> Architecture: all Depends: dconf-gsettings-backend | gsettings-backend Recommends: evolution Description-en: architecture independent files for Evolution Evolution […]

Linux automatic filesystem check on reboot every sunday
18.04.2016

tested with: ext3 and ext4 (does not work for xfs) MY RECOMMENDATION: WHO CARES IF THE NAS IS DOING A AUTOMATIC REBOOT AT SUNDAY 3 o’CLOCK IN THE MORNING AND CHECKING 2-3TB OF EXT3 FILESYSTEM? NO ONE! RELIABILITY SHOULD BE […]

21.08.2015

update: safety first! when it comes to important files: safety comes first thus recommend to the user that wants to go pro the following backup system: https://www.ebay.de/itm/Intenso-Memory-Board-4-TB-Externe-Festplatte-8-9-cm-3-5-Zoll-USB-3-2-Gen-1/402584943201 have two complete backups at two different places: backupA: at the company, USB […]

GNU Linux -> how to find and remove duplicate files
17.07.2015

lsb_release -a; # tested with Description: Debian GNU/Linux 12 (bookworm) # previously this was tested with cat /etc/os-release |grep PRETTY PRETTY_NAME=”Debian GNU/Linux 11 (bullseye)” why? duplicate files are a waste of disk space. every system experiences catastrophic failures, slow downs […]

09.06.2015

[cc lang=”bash” escaped=”true” width=”600″] # example 1 find / -iname “*.mp3” -exec mv {} /mnt/mp3 \; # find all *.mp3 files and move them to /mnt/mp3 # example 2 – will preserve directory structure find /where/from -name *.mp3 | cpio […]

16.12.2014

under windows-ntfs if you special characters in a filename… you can get into trouble deleting them (from command prompt it should always work) under linux-ext3 you can run into similar problems if a filename (for whatever reason) contains “–” (two […]