Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use strings command to print files in Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Linux how to use the strings command to print files, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Use the example

Example 1:

[root@www.linuxidc.com ~] # strings / usr/bin/uptime / lib/ld-linux.so.2 FK9 {PTRhp [^ _] usage: uptime [- V]-V display version libproc-3.2.7.so _ _ gmon_start__ _ Jv_RegisterClasses display_version print_uptime libc.so.6 _ IO_stdin_used stderr fwrite _ libc_start_main memset _ 3 -linux.so.2 [root@www.linuxidc.com] #

Example 2:

[root@www.linuxidc.com ~] # strings / usr/bin/uptime | grep GLIB GLIBC_2.0 [root@www.linuxidc.com ~] #

Example 3:

[root@www.linuxidc.com ~] # strings-n 3 / usr/bin/uptime / lib/ld-linux.so.2 GNU FK9 {% () PTRhp QVh WVS twee1 [^ _] tZ1 usage: uptime [- V]-V display version libproc-3.2.7.so _ _ gmon_start__ _ Jv_RegisterClasses display_version print_uptime libc.so.6 _ IO_stdin_used stderr fwrite _ _ libc_start_main memset _ 3room2 _ 5 GLIBC_2.0 / lib/ld-linux.so.2 [root@www.linuxidc.com ~] # read the above content Have you mastered how to use the strings command to print files in Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report