Shell::execute
execute
{ echo A; { echo B; } 2>&1; echo C; } 2>/dev/null
B A C
head -n N
>>
find .
ls -l
.
/
mv
rm -r
$( )
x=$( { echo a; } | f )
x
max_output
$?
false; echo "$?" | while read …
in
do
then
else
elif
{
!
eval
source
cat big | head -1
strands-shell: cat: pipe closed
#!/bin/sh -e
-u
-x
timeout
cat /dev/zero > /dev/null
cmd >> out 2>> out
echo o >> out 2>> out
out
mkdir -p f
f
if
while
until
if cmd; then …; fi 2>/dev/null
x=$(ls /missing)
cmd &>file
cmd
ls /missing &>/dev/null; echo $?
$(( ))
n=$(wc -l < f); echo $((n+1))
$UID
$EUID
$PPID
$SECONDS
$LINENO
$SHLVL
[ "$UID" -eq 0 ]