Mittwoch, 19. April 2017
Getting the source directory of a Bash script from within
mattki, 13:16h
#!/bin/bash
scriptdir=`dirname $(readlink -f $0)`
echo "scriptdir = ${scriptdir}"
scriptdir=`dirname $(readlink -f $0)`
echo "scriptdir = ${scriptdir}"
... link (0 Kommentare) ... comment
Changing default crontab editor
mattki, 12:16h
select-editor
... link (0 Kommentare) ... comment
... older stories