Created
June 23, 2022 21:55
-
-
Save jayofdoom/ebaa4f3c1406cc05dbe5af411b05346e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jay@jf-framework ~ $ echo vmx > cpuinfo | |
jay@jf-framework ~ $ grep -q vmx cpuinfo | |
jay@jf-framework ~ $ echo $? | |
0 | |
jay@jf-framework ~ $ grep -qv vmx cpuinfo | |
jay@jf-framework ~ $ echo $? | |
1 | |
jay@jf-framework ~ $ echo somethigelse > cpuinfo | |
jay@jf-framework ~ $ grep -q vmx cpuinfo | |
jay@jf-framework ~ $ echo $? | |
1 | |
jay@jf-framework ~ $ grep -qv vmx cpuinfo | |
jay@jf-framework ~ $ echo $? | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment