Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

locale

Man page quotation characters

August 9, 2022 by Magenaut

I’ve just been looking through a few man pages for a few different commands including grep and ifconfig. I’ve noticed over a few pages, the content uses a strange syntax to notate what i think are quotations (back-tick followed by a single or double quote): `text' Why can’t they use ‘ or ” to open … Read more

Categories Q&A, Unix & Linux Tags locale, man, osx, quoting, roff Leave a comment

Why is there no “Euro English” locale?

August 9, 2022 by Magenaut

I used to use the somewhat whimsical en_DK.UTF-8 locale when installing a new system because that would produce (roughly) the locale results I wanted, even though I am not in Denmark.

Categories Q&A, Unix & Linux Tags i18n, locale Leave a comment

How do I make ls sort underscore characters first?

August 9, 2022 by Magenaut

I like being able to name files and directories with an underscore prefix if it’s something I want to keep separate from other files and directories at the same level. On Windows and Mac, for example, prefixing a file with an underscore sorts it to the top, in front of files starting with an alphanumeric character.

Categories Q&A, Unix & Linux Tags locale, ls, sort Leave a comment

Understanding environmental variables in different contexts

August 9, 2022 by Magenaut

Trying to understand the behaviour of the environment in Linux (Ubuntu 13.04 concretely), I’ve find different situations where setting envirionment variables are used or defined for/in different contexts. For example, if I check, locale, I get:

Categories Q&A, Unix & Linux Tags environment-variables, locale, process, shell Leave a comment

What’s the default order of Linux sort?

August 9, 2022 by Magenaut

For a long period I thought the default behavior of the sort program was using ASCII order. However, when I input the following lines into sort without any arguments:

Categories Q&A, Unix & Linux Tags linux, locale, sort Leave a comment

Unexpected sort order in en_US.UTF-8 locale

August 8, 2022 by Magenaut

While trying to answer this question about SQL sorting, I noticed a sort order I did not expect:

Categories Q&A, Unix & Linux Tags glibc, locale, sort Leave a comment

How to use grep/ack with files in arbitrary encoding?

August 8, 2022 by Magenaut

On my Linux desktop I have a UTF-8 locale. When I try to search some KOI8-R encoded files with grep (ack), it fails. If I manually encode the pattern into KOI8-R and pass that as an argument, it works.

Categories Q&A, Unix & Linux Tags character-encoding, grep, locale Leave a comment

How make console to support chinese in CentOS 7?

August 8, 2022 by Magenaut

How can I make the console in CentOS 7 support Chinese?
I used localectl command. Following is the result:

Categories Q&A, Unix & Linux Tags centos, locale Leave a comment

Strange default sort behaviour

August 7, 2022 by Magenaut

I have some trouble to understand what is happening here:

Categories Q&A, Unix & Linux Tags locale, sort Leave a comment

How do I reduce the size of locale-archive?

August 7, 2022 by Magenaut

I have a need to reduce the size of the locale-archive file on some of my RHEL6 systems.

Categories Q&A, Unix & Linux Tags disk-usage, locale, rhel Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress