Link to home
Create AccountLog in
Avatar of pgmerLA
pgmerLA

asked on

Unix command: head

Hi,

I am trying to print out the 5 lines of the output of the dmesg command:

I type:

dmesg head -n5

or

dmesg head -n 5

and Ubuntu says: operation not permitted

What I am doing wrong?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account