← 返回命令列表

Linux command

sc 命令

文本

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

常用示例

Start sc

sc

Open an existing spreadsheet file

sc [file.sc]

Start sc-im

sc-im

Open a CSV file

sc-im [file.csv]

Open an Excel file

sc-im [file.xlsx]

说明

sc is a terminal-based spreadsheet calculator with vi-style keybindings. It supports formulas, macros, and external functions while operating entirely in text mode. Spreadsheets are saved as human-readable command scripts. The modern successor sc-im (Spreadsheet Calculator Improvised) extends sc with undo/redo, support for 65,536 rows and 702 columns, CSV/XLSX import/export, and Lua scripting. Both programs share similar vi-like navigation and editing commands. Spreadsheet files can be exported to plain text, LaTeX, or CSV formats for use with other applications.

参数

-r
Read-only mode
-x
Disable X11 functionality
-n
No prompting for commands
-C
Start with color disabled
-q
Quiet mode

FAQ

What is the sc command used for?

sc is a terminal-based spreadsheet calculator with vi-style keybindings. It supports formulas, macros, and external functions while operating entirely in text mode. Spreadsheets are saved as human-readable command scripts. The modern successor sc-im (Spreadsheet Calculator Improvised) extends sc with undo/redo, support for 65,536 rows and 702 columns, CSV/XLSX import/export, and Lua scripting. Both programs share similar vi-like navigation and editing commands. Spreadsheet files can be exported to plain text, LaTeX, or CSV formats for use with other applications.

How do I run a basic sc example?

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

What does -r do in sc?

Read-only mode