Tutorial Archive

  • Multiboot USB Drive

    I just created a usb drive containing different linux distributions. I wanted the drive to have the original iso files on it with no need to unpack. Here is what I did: sudo mkfs.vfat -n MultibootUSB /dev/sdd1 sudo mount /dev/sdd /mnt/ sudo grub-install --no-floppy --root-directory=/mnt...

    Full Story

  • Bash Example Script #2

    I have added the following function to my bash example script: # Run external command and only procced, when exit code is 0 function try { $@ returnValue=$? echo "$returnValue" if [ $returnValue -ne 0 ] then log $ERROR "$@ exited with return value \...

    Full Story

  • Bash Example Script

    These days I use bash more and more often for simple tasks on my Linux system, as well as for a University course I am taking. Have a look at the script: #!/bin/bash # Skript: bash_example.sh # Credit to: http://www.pro-linux.de/artikel/2/111/ #1,ein-shellskript-template.html # # I have...

    Full Story

  • Print all files in a folder

    I needed to print all files, that I placed in a certain folder before. The following line will do the job: for i in *; do lpr "$i"; done; I needed to print all files, that I placed in a certain folder before. The following...

    Full Story

  • (Deutsch) Skript: Lineare Algebra

    Sorry, this entry is only available in Deutsch. Sorry, this entry is only available in Deutsch.

    Full Story

Page 1 of 212

Switch to our mobile site