Category Archives: Linux

Stuff about Linux

Linux: Call a phone and play a message with asterisk

Hi,

asterisk is a complete VoIP/SIP solution but can also be used as a SIP client to send a prerecorded message. In this example I will use a Fritz!box as the upstream SIP Server for asterisk.
Continue reading Linux: Call a phone and play a message with asterisk

Advertisment to support michlstechblog.info

Youtube: Save the audio stream of a youtube video as mp3

Hi,

there is a python module if you want to save an audio stream of a youtube. youtube-dl is the choice for such tasks.
Continue reading Youtube: Save the audio stream of a youtube video as mp3

Linux: ip command line examples

Hi,

the old style ifconfig, route and netstat commands does not support all network, especially IPv6, features shipped with modern linux distributions.

Replacement are ip (ifconfig, route) and ss (netstat). Here are some examples.
Continue reading Linux: ip command line examples

Linux: Change working directory to script directory in bash

Hi,

short post. You start a bash script and want to change the working directory to the directory where the script is stored

Use this:

cd "$(dirname "$0")"

Michael

Linux: Disable IPv6

Hi,

to disable IPv6 on a Linux system you have to set some variables with sysctl.
Continue reading Linux: Disable IPv6