Linux 如何避免在rhel7中命令输出的开头显示大圆点?
在rhel7中,有时systemctl会在行首输出一个大点。如果secureCRT的外观未设置为UTF-8,则无法正常显示此大圆点。如何避免显示此字符Linux 如何避免在rhel7中命令输出的开头显示大圆点?,linux,redhat,centos7,Linux,Redhat,Centos7,在rhel7中,有时systemctl会在行首输出一个大点。如果secureCRT的外观未设置为UTF-8,则无法正常显示此大圆点。如何避免显示此字符 [root@5520AMS ~]# systemctl status iptables.service ● iptables.service - IPv4 firewall with iptables Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; v
[root@5520AMS ~]# 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)
[root@5520AMS ~]#
试试这个:
LC_CTYPE=C systemctl status
LC_CTYPE=C
切换到非UTF-8语言环境,这会导致systemctl避免使用UTF-8字符