You can use the share
button below every post to easily get a direct link to a specific answer or question:
[!["share a link to this answer" button][1]][1]
This link is of the format https://askubuntu.com/TYPE/POST_ID/USER_ID
, where
TYPE
is the type of the post, i.e.q
for questions ora
for answers,POST_ID
(highlighted in the screenshot above) is, well, the ID number of this specific post, andUSER_ID
is your own user ID, so that any clicks on this link can be tracked back to you. (There are e.g. some badges for sharing links that get clicked by a number of unique IP addresses). This part is optional and you could also remove it if you want an anonymous link.
You can either just use this short direct link, or if you prefer the long link format that includes the question title slug plus an anchor to the desired answer, you can also use the post ID you retrieved from the share
link and append that (both as path component as well as anchor), like
How can I change my own user ID? [1]: https://i.sstatic.net/HLXF2.png