can I remove the first char using AWK?

Hi everyone,

suppose that I have the following line:

#test your knowledge

can I use AWK to print the word "test" only? without the #?

what should I change to this:

awk '{print $1}'

thanks in advance guys

awk '{print substr($1,2); }'
1 Like

that was awsome and quick

Many thanks citaylor