Xterm:找不到 shell 的绝对路径:500

use*_*071 1 ubuntu xterm

在 SSH(使用启用 X11 的腻子)进入我的虚拟机 VM 后,我尝试打开一个 xterm 窗口。但是以下命令:

xterm -sb 500
Run Code Online (Sandbox Code Playgroud)

甚至

/usr/bin/xterm -sb 500
Run Code Online (Sandbox Code Playgroud)

返回错误:

xterm: No absolute path found for shell: 500
Run Code Online (Sandbox Code Playgroud)

我似乎无法弄清楚错误的含义!

编辑:

ls -la /usr/bin/xterm
-rwxr-xr-x 1 root root 450888 Sep 28  2012 /usr/bin/xterm

alias xterm
-bash: alias: xterm: not found


DISTRIB_DESCRIPTION="Ubuntu 12.10"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
Run Code Online (Sandbox Code Playgroud)

Tho*_*key 6

也许你的意思是

xterm -sl 500
Run Code Online (Sandbox Code Playgroud)

-sb选项不使用任何值。

这些选项的手册页:

   -sb     This  option  indicates  that  some  number  of  lines that are
           scrolled off the top of the window should be saved and  that  a
           scrollbar  should  be  displayed  so  that  those  lines can be
           viewed.  This option may be turned on  and  off  from  the  "VT
           Options" menu.
Run Code Online (Sandbox Code Playgroud)

-sl选项

   -sl number
           This option specifies the number of lines  to  save  that  have
           been  scrolled  off the top of the screen.  This corresponds to
           the saveLines resource.  The default is "64".
Run Code Online (Sandbox Code Playgroud)