A.54 library(shell): Elementary shell commands
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(shell): Elementary shell commands
shell/0
shell_command/1
cd/0
cd/1
pushd/0
pushd/1
popd/0
dirs/0
pwd/0
ls/0
ls/1
mv/2
rm/1
file_style/2
cls/0
Packages
Availability:
:- use_module(
library(shell)
).
(can be
autoloaded
)
ls
ls
(
+Pattern
)
Listing similar to Unix
ls -F
, flagging directories with
/
. If the terminal supports it, Prolog source files are rendered as links using the OSC 8 escape sequence. When using Epilog, clicking a Prolog file opens it in the editor.