Is linux case sensitive?

藏色散人
Release: 2023-03-10 09:40:45
Original
2330 people have browsed it

Linux is case-sensitive; for example, Mozilla, MOZILLA, mOzilla and mozilla are four different commands, but only mozilla is a truly valid command; and because the tradition of UNIX systems and C language has always been case-sensitive Sensitive, so the user's login name and secret are also case-sensitive.

Is linux case sensitive?

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

Is Linux case sensitive?

Sensitive.

.Linux is a case-sensitive system. For example, Mozilla, MOZILLA, mOzilla and mozilla are four different commands (but only the fourth mozilla is a truly valid command). Also, my_filE, my_file, and my_FILE are three different files. The user's login name and secret are also case-sensitive (this is because the tradition of UNIX systems and C language has always been case-sensitive).

Relevant cases of case sensitivity in Linux systems

url="/form/formdef/formDefPreview.html?key=RecordListManagement&id={{data.RecordListManagement.id}}&isClose=true"
Copy after login

The same URL can be run on the locally deployed program, but when deployed online, it displays `404- Cannot find `

and the following URL can be accessed both online and offline:

url="/form/formDef/formDefPreview.html?key=RecordListManagement&id={{data.RecordListManagement.id}}&isClose=true"
Copy after login

After screening the problem, it was found that the local system is windows system, while the online system is linux system, and linux is suitable for It is case sensitive, so it cannot be accessed

Solution suggestions:

1. When writing code, it is best to follow case specifications

2. Source of the following solution: https:/ /www.cnblogs.com/hekw07/p/4075869.html

1. Debian system

Debian system is relatively simple

  • From the path Find spelling.load under /etc/apache2/mods-available and copy it to the path /etc/apache2/mods-enabled

  • Write the file spelling.conf to the directory /etc The content of /apache2/mods-enabled

##speling.conf is very simple. All I wrote is the following line:

CheckSpelling on

  • After adding speling.load and speling.conf to /etc/apache2/mods-enabled, just restart apache.

2. CentOS system

It’s a little annoying under the centos system.

  • Check whether the system has the module mod_speling.so, path: /etc/httpd/modules; if there is, just pass it directly, do not download it from elsewhere and use it

  • Load this module

  • vi /etc/httpd/conf/httpd.conf
    Copy after login
In the module loading area, add the following line:

LoadModule speling_module modules/mod_speling.so
CheckSpelling on
Copy after login
Save changes and exit

  • Restart the httpd service.

Related recommendations: "

Linux Video Tutorial"

The above is the detailed content of Is linux case sensitive?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template