20.Jul.2017

the strangest thing about mtr is probably that it seems to work only with a desktop-terminal. not an ssh-terminal 😀 What is MTR? mtr combines the functionality of the ‚traceroute‘ and ‚ping‘ programs in a single network diagnostic tool. As […]

18.Jul.2017

-p, –print-cache Print the lists of directories and candidate libraries stored in the current cache. manpage: ldconfig.man.txt manpage – dynamic linker – ld.so.man.txt root@debian9:~# ldconfig -p 664 libs found in cache `/etc/ld.so.cache‘ libz.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libz.so.1 libz.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libz.so […]

14.Jul.2017

display ip and ip only of the host computer the script is running on. ifconfig eth0|grep inet| awk ‚{print $2}‘ | cut -d: -f2 172.20.0.8 root@debian9:~# IP=$(ifconfig eth0|grep inet| awk ‚{print $2}‘ | cut -d: -f2); echo $IP; 172.20.0.8

14.Jul.2017

The Enterprise Volume Management System (EVMS) Project has the goal of providing unparalleled flexibility and extensibility in managing storage. It represents a new approach to logical volume management for Linux. The architecture introduces a plug-in model that allows for easy […]

13.Jul.2017

LibreSignal is like Signal – the private WhatsApp and SMS service – but without using requirement for GooglePlay. So people with alterntive firmwares on their phones (CyanogenMod) can use it as well. download: http://dwaves.de/software/apps/LibreSignal_4.6.0_267.apk sha512sum „LibreSignal_4.6.0_267.apk“ f0a42a14b5ab6d7ccf7d19ddc05752ca42745e1506b702fe1591ee17941c0193e4e8031bcb85c4c44a8dc614ed33dc3765d1f1e383c27a0934b0fcee7da484f5 Also pretty cool […]

12.Jul.2017

Init Ram Disk filesystem – kind of mini OS in order to mount raid and start „the real /root os“. hostnamectl; # tested on Static hostname: debian9 Icon name: computer-vm Chassis: vm Machine ID: 532eabca552b4075a8679094397c8dba Boot ID: 15ee0b8e8a1e4d1eb1003c4630644091 Virtualization: microsoft […]

10.Jul.2017

you should setup harddisk encryption during setup. to add an encrypted /home partition afterwards might be possible but a lot more effort. scroll very down if you want to know how to encrypt an usb sticks … needless to say […]

10.Jul.2017

hostnamectl; # tested with Static hostname: debian9 Icon name: computer-vm Chassis: vm Machine ID: 532eabca552b4075a8679094397c8dba Boot ID: 56c17320171e4ca2aed93998357ce1d2 Virtualization: microsoft Operating System: Debian GNU/Linux 9 (stretch) Kernel: Linux 4.12.0cuztom Architecture: x86-64 apt-get install genisoimage genisoimage –help genisoimage -r -J -l […]

gnu linux smart s.m.a.r.t harddisk faillure surveillance
10.Jul.2017

harddisks… are blackboxes of data – if something fails… you do not repair – you replace. 65% of all harddisk failurs can be announced with smart. wohoo! so don’t rely on it 😀 apt-get install smartmontools # some commands smartctl […]

07.Jul.2017

btrfs is used by SUSE12 for the /root partition – where it is doing daily snapshots of the installed OS. It has more functionality built-in than just storing files. This article wants to take btrfs for a test-drive. Video Tutorials: […]

07.Jul.2017

while this is possible… i am not sure to recommend this 😀 also make sure there is still some space on the partition to be converted. root@debian9:/# btrfs-convert /dev/sdb6 create btrfs filesystem: blocksize: 4096 nodesize: 16384 features: extref, skinny-metadata (default) […]

07.Jul.2017

Atomkraft ist nicht nur im laufenden Betrieb gefährlich. KEIN DEUTSCHES Atomkraftwerk HÄLT EINEN FLUGZEUGABSTURZ STAND! Allein daran kann man schon erkennen wie kurzsichtig und Macht-Geld-getrieben diese ganze Branche funktioniert – sammt ihren politischen Kollaborateuren. FBI in Sorge: Hacking-Kampagne gegen Atomkraftwerke […]

GNU Linux -> undelete ext3 vs ext4
06.Jul.2017

As we all know… if you accidentally deleted a file… you better have a working backup. If not: Try to do as less write access as possible to the disk – turn off PC and boot from Live-CD-USB-Stick such as […]

06.Jul.2017

can be easily checked via: root@debian9:~# cat /proc/filesystems nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cpuset nodev cgroup nodev cgroup2 nodev tmpfs nodev devtmpfs nodev debugfs nodev tracefs nodev securityfs nodev sockfs nodev bpf nodev pipefs […]

05.Jul.2017

there are some special automatically set environment variabels that might be interesting to know… echo $$; # PID of currently running shell echo $?; # return error code of last run program (before echo) echo $0; # return /path/and/way the […]

03.Jul.2017

strace from the strace.man.txt manpage. trace system calls and signals In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are […]

1986 – 80386 – linux history
30.Jun.2017

9. September 1986 At the Palladium in Manhattan, New York, Compaq Computer introduces the Compaq Deskpro 386, the first 80386-based personal computer offered by a major computer manufacturer. The Model 40 features a 16 MHz Intel 80386 and 40 MB […]

centos redhat compiling the latest kernel
30.Jun.2017

this also worked under debian9 stretch… it now also works for Centos7/Redhat. in this example i try to compile the latest kernel from kernel.org on CentOS7 it compiles… and boots up… hit ESC or other keys to see the verbose […]

30.Jun.2017

https://www.examcollection.com/examformatter.html

29.Jun.2017

teaching Artificial Intelligence Laboratory, Department of Informatics, University of Zurich Formal Methods for Computer Science II, Teaching Assistant, Fall Term 2013 Introduction to Artificial Intelligence: The ShanghAI Lectures, Teaching Assistant, Fall Term 2012 Institute of Embedded Systems, Zurich University of […]

29.Jun.2017

While the Boot ID /proc/sys/kernel/random/boot_id is newly generated with every reboot – the Machine ID uniquely identifies the host. It should be considered „confidential“, and must not be exposed in untrusted environments, in particular on the network. The /etc/machine-id file […]

Debian GNU HURD MicroKernel – Stallman’s OS comes to life :-D
28.Jun.2017

requirements: make sure you have enough harddisk space… 😀 In December 1991 the primary architect of the Hurd described the name as a mutually recursive acronym:[7] It’s time [to] explain the meaning of „Hurd“. „Hurd“ stands for „Hird of Unix-Replacing […]