Powershell menu script

Do you ever need to give some input to a script? Maybe its a long filename or some other long and complex string, or maybe you’re just lazy like me? I wrote a script for handling the input, it’s a bit like the curses based menus you see in some network equipment, and in Linux…

Continue Reading

LGSM CS:GO not starting

I’m running a small CS:GO server for the local E-Gaming club. It’s based on https://linuxgsm.com/, which makes managing game servers easy. Today I got a call from the trainer, telling that the server was not running. I have some tasks running every night to check for updates, and my first thought was that something had…

Continue Reading

Citrix XenApp klient til Linux på Ubuntu 9.04

F√łlgende g√¶lder p√• ubuntu 9.04, men muligvis ogs√• andre linux distributioner. Den, i skrivende stund, nyeste XenApp klient fra citrix er version 11. Den kr√¶ver ligesom de tidligere versioner Openmotif, dette klares p√• ubuntu ved at installere libmotif3: sudo apt-get install libmotif3 Muligvis er det ogs√• n√łdvendigt at installere pakken libmotif-dev det klares p√• samme…

Continue Reading

sed

sed er en forkortelse for¬†stream editor, jeg vil her give en kort introduktion til hvad man bl.a.¬†kan bruge det til. sed er et st√¶kt v√¶rkt√łj n√•r man hurtigt skal have √¶ndret indholdet i tekst filer – se eksemplet herunder: sed -i ‘s/hurtig/langsom/’ /home/kasper/dokuments/skildpadden.txt Lad os gennemg√•¬†kommandoen ovenover: -i fort√¶ller sed at den skal lave √¶ndringerne…

Continue Reading