Linux Archive

  • 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 then log $ERROR "$@ exited with return value \ $returnValue Script will stop here." echo "$@ exited with ...

    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 added some usefull functions that I ...

    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;

    Full Story

  • Suspend and USB

    Notice to myself: Bugfix for Arch not waking up usb devices after suspend: https://wiki.archlinux.org/index.php/Pm-utils#HAL_will_not_recognize_new_devices_on_resume

    Full Story

  • Banshee 1.8

    Right now, my package manager pacman (I am using Arch Linux) updated the music player Banshee. The last stable version 1.6.1 was updated to version 1.8.0. The first things I recognized are: Some new menu entries on the left, as Amazon MP3-Shop and Miro Guide In the ...

    Full Story

Page 1 of 812345...Last »