Linux utility commands

Category: /knowledge /linux
Tags: linux

How to use SHA2 checksum

For example, you download a file called ‘some-file.tar.gz’, then the website owner provides you a checksum. You can save it as ‘some-file.tar.gz.sha256’

8cd7e85435f0ad04a0540037436ae9593608cf7f456bf8ff1d44f659572ec8dc some-file.tar.gz

then in a terminal, run this command:

sha256sum -c some-file.tar.gz.sha256

The output should be:

some-file.tar.gz: OK

How to check port number:

netstat -anp | grep java

讨论

提示

  • 如果看不到讨论部分, 请暂时关掉adblock in Firefox/Chrome
  • 本网站使用Javascript实现评论功能, 此处外链对提高您的网站PR没有帮助. (潜台词: 请不要灌水, 谢谢)