歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 在Linux下執行w 時,顯示70 column window is too narrow

在Linux下執行w 時,顯示70 column window is too narrow

日期:2017/2/28 14:29:34   编辑:Linux教程

今天在Linux下執行 w這個命令時,出現70 column window is too narrow,不知道是什麼問題,後來在網上查了一下,看一個解決方案,在w後面用管道的方式進行輸入,然後在執行 w就不會報錯了

[[email protected] ~]# w

70 column window is too narrow

[root@mylab ~]# w|cat

20:39:38 up 5:28, 5 users, load average: 0.00, 0.00, 0.00

USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

root tty1 - 20:06 33:27 0.14s 0.14s -bash

root pts/0 192.168.255.1 15:32 4:59 3.71s 0.76s vim ckuser.sh

root pts/1 192.168.255.1 19:06 26:17 0.37s 0.17s -bash

root pts/2 192.168.255.1 17:37 0.00s 0.40s 0.02s w

root pts/3 192.168.255.1 20:16 4:55 0.27s 0.27s -bash

[[email protected] ~]# w

20:41:08 up 5:30, 5 users, load average: 0.00, 0.00, 0.00

USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

root tty1 - 20:06 6.00s 0.17s 0.17s -bash

root pts/0 192.168.255.1 15:32 6:29 3.71s 0.76s vim ckuser.sh

root pts/1 192.168.255.1 19:06 27:47 0.37s 0.17s -bash

root pts/2 192.168.255.1 17:37 0.00s 0.42s 0.02s w

root pts/3 192.168.255.1 20:16 6:25 0.27s 0.27s -bash

Copyright © Linux教程網 All Rights Reserved