2017-07-25 34 views
-1

在rhel7中,有时systemctl会在行首输出一个大点。如果secureCRT的显示未设置为UTF-8,则此大点不能正常显示。如何避免显示这个角色?如何避免在rhel7命令输出开始时显示大点?

[[email protected] ~]# systemctl status iptables.service 

● iptables.service - IPv4 firewall with iptables 
    Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled) 

    Active: inactive (dead) 
[[email protected] ~]# 

回答

2

尝试这种情况:

LC_CTYPE=C systemctl status 

LC_CTYPE=C切换到非UTF-8语言环境,这会导致systemctl避免UTF-8字符。

相关问题