erlang shell的命令及翻译内容。

时间:2021-05-01 21:48:45

可以通过help().全部查看

转载自:https://www.cnblogs.com/myerlang/p/4157734.html

 

** shell internal commands **

* * * *外壳的内部命令

b() -- display all variable bindings

b()——显示所有的变量绑定

e(N) -- repeat the expression in query <N>

e(n)——在查询<n>重复表达

f() -- forget all variable bindings

f()——忘了所有的变量绑定

f(X) -- forget the binding of variable X

f(x)——忘记变量x的结合

h() -- history

h()——历史

history(N) -- set how many previous commands to keep

历史(N)——设置多少以前的命令来保持

results(N) -- set how many previous command results to keep

结果(n)——设置多少以前的命令的结果保持

catch_exception(B) -- how exceptions are handled

catch_exception(B)——如何处理例外

v(N) -- use the value of query <N>

V(n)——使用查询<n>价值

rd(R,D) -- define a record

RD(R,D)——定义记录

rf() -- remove all record information

rf()——删除所有记录的信息

rf(R) -- remove record information about R

射频(R)——删除关于R记录信息

rl() -- display all record information

rl()——显示所有记录的信息

rl(R) -- display record information about R

RL(R)——关于R显示记录的信息

rp(Term) -- display Term using the shell's record information

RP(术语)——使用壳牌的记录信息显示术语

rr(File) -- read record information from File (wildcards allowed)

RR(文件)——从文件中读取记录信息(通配符允许)

rr(F,R) -- read selected record information from file(s)

RR(F,R)——从文件中读取选定的记录信息(的)

rr(F,R,O) -- read selected record information with options

RR(F,R,O)——选择阅读选定的记录信息

** commands in module c **

*命令模块C *

bt(Pid) -- stack backtrace for a process

BT(PID)——一个进程堆栈

c(File) -- compile and load code in <File>

C(文件)——编译和加载代码<文件>

cd(Dir) -- change working directory

CD(DIR)——改变工作目录

flush() -- flush any messages sent to the shell

flush()——冲洗任何消息发送到该外壳

help() -- help info

help()——帮助信息

i() -- information about the system

i()——关于系统的信息

ni() -- information about the networked system

ni()——关于网络系统信息

i(X,Y,Z) -- information about pid <X,Y,Z>

我(x,y,z)——关于PID<X,Y,Z >信息,

l(Module) -- load or reload module

L(模块)——加载或卸载模块

lc([File]) -- compile a list of Erlang modules

LC([文件])——编制一份名单的Erlang模块

ls() -- list files in the current directory

ls()——在当前目录的文件列表

ls(Dir) -- list files in directory <Dir>

LS(DIR)——<目录>目录中的文件列表

m() -- which modules are loaded

m()——模块加载

m(Mod) -- information about module <Mod>

m(MOD)——关于<模式>信息模块

memory() -- memory allocation information

memory()——内存分配的信息

memory(T) -- memory allocation information of type <T>

存储器(T)——型< t >内存分配的信息

nc(File) -- compile and load code in <File> on all nodes

数控(文件)——编译和加载的代码在所有节点在<文件>

nl(Module) -- load module on all nodes

NL(模块)——加载模块的所有节点上

pid(X,Y,Z) -- convert X,Y,Z to a Pid

PID(x,y,z)——将x,y,z为PID

pwd() -- print working directory

pwd()——打印工作目录

q() -- quit - shorthand for init:stop()

q()——退出-初始化:stop()速记

regs() -- information about registered processes

regs()——信息注册过程

nregs() -- information about all registered processes

nregs()——所有的注册过程的信息

xm(M) -- cross reference check a module

XM(M)——交叉引用检查模块

y(File) -- generate a Yecc parser

Y(文件)——产生yecc分析器

** commands in module i (interpreter interface) **

*命令模块我(翻译接口)* *

ih() -- print help for the i module

ih()——为我打印的帮助模块