← 返回命令列表

Linux command

st.1 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Open

st

Example

st -T [title]

Execute command

st -o [path/to/file] -e [command] [args]

Execute command

st -e [command] [args]

Example

st -g [columns]x[rows]

说明

st is a simple terminal emulator for X11 from the suckless project. It aims to be lightweight and follows the suckless philosophy of simplicity, providing a minimal terminal with core functionality and configuration through source code modification. Features include UTF-8 support, true color, clipboard handling, and configurable keybindings. Unlike feature-rich terminals, st is designed to be patched and recompiled for customization rather than configured through files.

参数

-T _title_
Set window title
-t _title_
Set window title (alias for -T)
-e _command_ _args_
Execute command instead of shell
-o _file_
Write terminal output to file
-g _geometry_
Set window geometry (WxH+X+Y)
-f _font_
Set font (X11 font string)
-c _class_
Set window class
-n _name_
Set window name
-w _windowid_
Embed in given window ID
-a
Disable alternate screen buffer
-i
Fix screen on insert mode
-v
Print version

FAQ

What is the st.1 command used for?

st is a simple terminal emulator for X11 from the suckless project. It aims to be lightweight and follows the suckless philosophy of simplicity, providing a minimal terminal with core functionality and configuration through source code modification. Features include UTF-8 support, true color, clipboard handling, and configurable keybindings. Unlike feature-rich terminals, st is designed to be patched and recompiled for customization rather than configured through files.

How do I run a basic st.1 example?

Run `st` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -T _title_ do in st.1?

Set window title