Traditional Culture Encyclopedia - Photography major - Linux file extension A file with a Linux extension.
Linux file extension A file with a Linux extension.
Source program (. ASM)- object program. Obj)- executable program (. Exe) the suffix of c language is. c.
The suffix of c++ is. cpp。
On the Windows platform, the source code file of C language has a general extension of .c.
On the Linux platform, the extension of C language source code files is generally. C, the file extension after preprocessing is generally. I. The assembly code generated by the compiler is generally. S, the generated executable file is generally extended to. Out is generated by assembler, so the default program name generated by gcc is a.out, which means Assembleroutput.
Information file format?
Information file
The most common is. The info extension is a part of ZBThumbnail.info file created by Canon's ZoomBrowser(ZB). ZB is a proprietary photographic image management tool, which can be obtained from Canon as a part of Canon's still camera bundling software. ZB will create a ZBThumbnail.info file containing user pictures in each folder. This. The information file is used by ZB as a collective thumbnail for preview. Therefore, any ZBThumbnail.info file is a raster image thumbnail file, which contains a miniature preview of all images in a directory. ? The ZB.info file is very small and marked as a hidden file, so it will not be displayed in the default explorer settings. This thumbnail file can be safely deleted, although it will be recreated every time ZB is started. However, ZB will not work with. Info file, which is only part of its preview generation process. All this time. Info extension stands for information and usually appears in human-readable plain text files. In fact, these files are concise descriptions of any files or software attached to them. Such information files can and should be opened with a text editor and directly read by human beings. Information files have the same function as NFO, DSC or (sometimes) TXT files. In the website content management system. Info extension is related to Drupal module information file, which defines the list of modules to be used by Drupal. Drupal is a very popular open source CMS based on PHP, which is used to actively manage content websites. Correct DrupalINFO file is very important for the correct operation of CMS. In GNU/Linux. The info extension is associated with the file format and file type of Texinfo/GNU document system. GNU.info file is a plain text file marked with TeX supporting hypertext, which is structurally divided into connected chapters and parts. Information files are linked together in the Hypertext Document System (INFO). Information files are usually located at/
What documents are there? O and. What about extensions under linux?
Actually, it doesn't matter what the name is, but according to the custom, O is a compiled intermediate target file, and multiple intermediate target files can be linked into executable files. So the file represents a dynamic link library.
Learn Linux file types and suffixes one by one?
Common file types of linux
Universal document
This is the file listed in ls-l, and the first character in the first column is-. According to the content of the file, it can also be divided into several categories:
Plain text file (ASCII): This is equivalent to a notepad, and it is called plain text file. We can read the contents of the file directly. This kind of file accounts for a large proportion in linux system.
Binary file: The executable file (script) in Linux system is a binary file, which can only be executed with X permission. Some commands in our system are files of this type.
Data format file: In linux system, some programs will read some specific databases when they run. These files are data files. As we mentioned earlier, the last command calls /var/log/wtmp. If we use the cat command to view the file /var/log/wtmp, you will find that it is all garbled.
About other file types, such as connection file, device file, data interface file (socket), pipeline file, etc. These are also some special file types, and we just need to know about them. In the later study, when we meet them, you just need to know what they are. If you want to learn more deeply, then find relevant materials to study slowly, such as how to view a data file.
Suffix name of linux file
At the beginning, we also said that on linux system, the requirement for this suffix is not as strict as Microsoft's win system. It is only for the convenience of confirming what kind of file the file is, that the corresponding suffix is added at the back. If a file can be read with the cat command, we can still read it with cat after changing the suffix.
We also know that on the Microsoft win system, the commonly used executable files are usually represented by. com,。 Bats and. exe。 On our linux system, it is different. I can add X (executable) permission to any file, but whether it can be executed successfully depends on the content of the file itself. There is a very important point in this, that is, it can be implemented and it can be successfully implemented. For example, we have an install.log file in the home directory of root user, and we give him X permission. Although it is an executable file, there is no result after execution, because the content in this file is not executable by our system, of course, its execution is unsuccessful!
So, for convenience, we know what the files in the system are for. Linux system will still use the corresponding suffix to indicate the file type. Let's look at some common suffixes.
. Sh: This script file is usually written by ourselves, usually through a shell, so we use. shilling
. z,。 Tar, Tar, gz,。 zip,。 Tgz: These files are all compressed files, but the compression methods are different.
. Logs: These files are just some log files.
. Conf: These files are just some configuration files, which are most common on linux systems.
. Rpm: This is Red Hat's software package. Of course, different linux distributions have different suffixes for the software packages they use.
. php,。 jsp,。 html,。 Css: These files are all website types.
Of course, there are some other suffixes, which are of little significance, just for our convenience and simple understanding.
This length is long enough for us. In the later study, you will find that many software names are very long on linux system. If you type one word at a time, it will waste time and sometimes you will make a mistake. Is this too inconvenient? Of course not. A long file name helps us know what this file is for (I think so), but it is actually convenient for us. In order to prevent us from typing so many words, on the linux system, there is an important function key, that is, TAB, which has the function of completion. Just type the first few words, and then press the TAB key, and you can finish. If you press tab twice, the content related to these words will be displayed. Haha, friends who use linux don't know this function, or don't need to know this. It's a failure!
Naming rules of files in linux system
As we know, on the linux system, it is basically operated by commands. The shell we use itself has many special characters. If our file name is the same as the special characters in this shell, it will be difficult. Therefore, when naming files, we should avoid some special characters while facilitating identification. The following is a list for your reference (not that you can't command these roles, just suggest avoiding them).
What file is the sha suffix?
Yes. Sha extension also represents the ShellArchive file format used in UNIX operating system. SHA is a plain text format. SHA files are self-extracting, and SHA format is used to encode multiple files in a shell script. Running this script will recreate the encoding file.
With the file. Sha extensions can be executed from the command line using standard Unix utilities, such as UnixBourneshellsh. SHA format can also use special utilities in Windows and be executed in GNU/Linux.
- Previous article:Mobile phone photography bar drinking
- Next article:Are 1-inch photos and 2-inch photos the same size, and what is the difference?
- Related articles
- Matters needing attention in granting etiquette knowledge
- Dreaming of the omen that wasps stop above their eyes
- Introduction to red tourist attractions near Zhangpu Zhangpu Revolutionary Historical Memorial Hall
- Opening hours of ice and snow world
- Hu nian photography theme
Shishi geography
No.4 1
Hu Chu you Hu Yu Zui
Sandan Island is adjacent to the northern end of Hongta Bay in Shishi, and there is a stone island in the
- Introduction skills of landscape photography
- Where is Huawei p30 lanyard hole?
- Who took photos in Dongying Beijing Studio? So what?
- What does an American man mean?
- When will the first Water Cube Cultural Festival painting and calligraphy photography exhibition open?