The general question I have is, once Ive been given a generator matrix $G$ for some linear $[n,k]_q$ code (or alternatively the parity check matrix $H$), How can I invert this in order to find the inverse? i.e.
$$G \rightsquigarrow H \text{ or } H \rightsquigarrow G$$
I understand that for $q=2$ we can rearange columns of $G$ to give the standard form $G=(I_n|A)$ which is easily manipulated to $H=(-A^T|I_n)$. However once $q>2$ I dont understand how to solve the question. Below is an example question given:
$$G= \begin{bmatrix} 1&1&1&0 \\ 2&0&1&1 \end{bmatrix} $$
Find the parity check matrix, $H$, in standard form.
The answer given in the the course was, for linear codes, row operations to $G$ will generate an equivalent code.