I am trying to output the dmesg to a log file so I can look at it through my txt editor, but i keep getting an error msg:
dmesg > /Desktop/log.txt
gives me this error: bash: /Desktop/dmesg.log: No such file or directory
I have also tried: dmesg >> /Desktop/log.txt but i get the same error message.
what am i missing?