CLI output in English

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

CLI output in English

Postby viking60 » 10 Aug 2015, 12:58

If you have installed Linux in your local language but need help in English forums; it makes sense to make the output of your Command Line Interface in English too.
Here is how you do it:

Simply add

Code: Select all

LC_ALL=C
in front of your command.

Examples:
If you want to update Arch or Manjaro with english output:

Code: Select all

sudo LC_ALL=C pacman -Syu

If you want to update RedHat/Centos:

Code: Select all

sudo LC_ALL=C yum update


It is as easy as that +1

I have commented on this all over the place but never made an actual tip out of it :oops:
Hereby corrected :-D
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Tips & Tricks”