In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Linux system file command is the specific use of what, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
\ 1. Windows distinguishes different files with different extensions, such as .exe .png, etc.
\ 2. Sometimes we encounter all kinds of holes when there is no clear requirement for the extension under Linux. When we do not know it is a compressed file, when we use some commands to check it, there will be all kinds of garbled codes.
[root@linuxidc ~] # cat text | head Y 8'+ ub. °@ curve Q:% DURr) Xs weak ±O §/ L / d2 §infiltration 2c
\ 3. Use file to view file types
[root@linuxidc ~] # file text
Text: gzip compressed data,from Unix, last modified: Wed Aug 23 23:10:14 2017
[root@linuxidc ~] #
\ 4. As you can see, this is a compressed file, which can be viewed using tar-tf.
[root@linuxidc ~] # tar-tftext
Etc/services
[root@linuxidc ~] #
\ 5. For a file without an extension, you can use file to view the file type
[root@linuxidc ~] # file / bin/ls / etc/hosts ser.tar.gz
/ bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
/ etc/hosts: ASCIItext
Ser.tar.gz: gzipcompressed data, from Unix, last modified: Wed Aug 23 23:10:14 2017
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.