Erlang命令行提示符汇总
2019獨(dú)角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
b() ? ? ? ?-- display all variable bindings
顯示所有的綁定的變量
e(N) ? ? ? -- repeat the expression in query <N>
f() ? ? ? ?-- forget all variable bindings
忘記所有已綁定的變量
f(X) ? ? ? -- forget the binding of variable X
忘記變量X的綁定
h() ? ? ? ?-- history
顯示歷史
history(N) -- set how many previous commands to keep
設(shè)置保留N條之前的歷史 控制h()的顯示數(shù)量
results(N) -- set how many previous command results to keep
catch_exception(B) -- how exceptions are handled
v(N) ? ? ? -- use the value of query <N>
rd(R,D) ? ?-- define a record
rf() ? ? ? -- remove all record information
移除所有的記錄信息
rf(R) ? ? ?-- remove record information about R
移除R的記錄信息
rl() ? ? ? -- display all record information
顯示所有的記錄信息
rl(R) ? ? ?-- display record information about R
顯示R的記錄信息
rp(Term) ? -- display Term using the shell's record information
rr(File) ? -- read record information from File (wildcards allowed)
rr(F,R) ? ?-- read selected record information from file(s)
rr(F,R,O) ?-- read selected record information with options
** commands in module c **
bt(Pid) ? ?-- stack backtrace for a process
c(File) ? ?-- compile and load code in <File>
編譯和加載文件,最新的建議使用erlc
cd(Dir) ? ?-- change working directory
改變工作目錄
flush() ? ?-- flush any messages sent to the shell
help() ? ? -- help info
幫助信息
i() ? ? ? ?-- information about the system
顯示系統(tǒng)的信息
ni() ? ? ? -- information about the networked system
顯示系統(tǒng)的網(wǎng)絡(luò)信息
i(X,Y,Z) ? -- information about pid <X,Y,Z>
關(guān)于pid<X,Y,Z>的信息
l(Module) ?-- load or reload module
加載或重新載入模塊
lc([File]) -- compile a list of Erlang modules
ls() ? ? ? -- list files in the current directory
列出當(dāng)前目錄
ls(Dir) ? ?-- list files in directory <Dir>
m() ? ? ? ?-- which modules are loaded
查看已經(jīng)載入的模塊
m(Mod) ? ? -- information about module <Mod>
顯示模塊Mod的信息
memory() ? -- memory allocation information
已分配的內(nèi)存信息
memory(T) ?-- memory allocation information of type <T>
nc(File) ? -- compile and load code in <File> on all nodes
nl(Module) -- load module on all nodes
pid(X,Y,Z) -- convert X,Y,Z to a Pid
pwd() ? ? ?-- print working directory
打印當(dāng)前目錄
q() ? ? ? ?-- quit - shorthand for init:stop()
退出.init:stop()的快捷方式
regs() ? ? -- information about registered processes
顯示所有已注冊的進(jìn)程
nregs() ? ?-- information about all registered processes
uptime() ? -- print node uptime
xm(M) ? ? ?-- cross reference check a module
y(File) ? ?-- generate a Yecc parser
** commands in module i (interpreter interface) **
ih() ? ? ? -- print help for the i module
打印i模塊的幫助信息
轉(zhuǎn)載于:https://my.oschina.net/zlp5201/blog/505457
總結(jié)
以上是生活随笔為你收集整理的Erlang命令行提示符汇总的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《sed的流艺术之四》-linux命令五
- 下一篇: HDU 1232:流问题(并检查集合)