Unfortunately, there is no direct table to request this information.
If you use PHP, you can get it as follows:
$ sql = "SHOW MASTER STATUS";
$ result = mysql_query ($ sql);
$ row = mysql_fetch_assoc ($ result);
$ pos = $ row ["Position"];
If you need it using shell scripts, you do the following:
POS = `mysql -h... -u... -p... -A -skip-column-names -e "SHOW MASTER STATUS;" | awk '{print $2}' `
!!!