What are the character set view commands in linux
This article is to share with you what the character set view command in linux contains. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Character set View:
1. Echo command:
[root@rac etc] # echo $LANGen_US.UTF-8
2. Env command:
[root@rac sysconfig] # env | grep LANGLANG=en_US.UTF-8
3. Export command:
[root@rac etc] # export | grep LANGdeclare-x LANG= "en_US.UTF-8"
4. Locale command
[root@rac etc] # localeLANG=en_US.UTF-8LC_CTYPE= "en_US.UTF-8" LC_NUMERIC= "en_US.UTF-8" LC_TIME= "en_US.UTF-8" LC_COLLATE= "en_US.UTF-8" LC_MONETARY= "en_US.UTF-8" LC_MESSAGES= "en_US.UTF-8" LC_PAPER= "en_US.UTF-8" LC_NAME= "en_US.UTF-8" LC_ADDRESS= "en_US.UTF-8 "LC_TELEPHONE=" en_US.UTF-8 "LC_MEASUREMENT=" en_US.UTF-8 "LC_IDENTIFICATION=" en_US.UTF-8 "LC_ALL=
5. View file information:
[root@rac etc] # cat / etc/locale.conf LANG= "en_US.UTF-8" Thank you for reading! This is the end of this article on "what are the commands for viewing character sets in linux?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!