Re: 24 hour time again -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-12-25 07:24, Bob Goodwin wrote:
>
> On 2019-12-24 17:56, Ed Greshko wrote:
>> It sounds as if you're not running with the environment variable LC_TIME=C.
>>
>> What does the followng LONG command string return?
>>
>> xx=`pidof thunderbird` ; cat/proc/$xx/environ | grep "LC_TIME=[Cc]" ; echo $?
>>
>> -
>
> .
>
> Well I do have this which I hope runs after rebooted:
>
> [bobg@Workstation-2 ~]$ cat /home/bobg/.bashrc
> # .bashrc
>
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>     . /etc/bashrc
> fi
>
> # User specific environment
> if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
> then
>     PATH="$HOME/.local/bin:$HOME/bin:$PATH"
> fi
> export PATH
>
> # Uncomment the following line if you don't like systemctl's auto-paging feature:
> # export SYSTEMD_PAGER=
>
> # User specific aliases and functions
>
> export LC_TYPE="C"

What is LC_TYPE?????


>
> And I.m not certain I got the pid right but this is what I see:
>
> [bobg@Workstation-2 ~]$ ps ax  | grep thunderbird
>    1652 ?        Sl     0:50 /usr/lib64/thunderbird/thunderbird
>    2431 pts/1    S+     0:00 grep --color=auto thunderbird
>
> [bobg@Workstation-2 ~]$ cat /proc/$1652/environ | grep "LC_TIME=[Cc]" ; echo $?
> cat: /proc/652/environ: No such file or directory
> 1
>


OK, why did you not enter the command as I typed it?  It would have avoided any issues of what the PID is.

Anyway, the PID is 1652 but your next command is wrong....

It should have been....

cat /proc1652/environ | grep "LC_TIME=[Cc]" ; echo $?



-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux