Pages
Categories
Archives
Hosted by
Tutorial Archive
-
Multiboot USB Drive
Posted on 22. December 2012 by Phylu | 1 CommentI 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... -
Bash Example Script #2
Posted on 5. January 2012 by Phylu | 1 CommentI 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 \... -
Bash Example Script
Posted on 29. December 2011 by Phylu | 2 CommentsThese 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... -
Print all files in a folder
Posted on 6. August 2011 by Phylu | 2 CommentsI 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... -
(Deutsch) Skript: Lineare Algebra
Posted on 17. May 2011 by Phylu | 13 CommentsSorry, this entry is only available in Deutsch. Sorry, this entry is only available in Deutsch.
