For more information see the Agnostic Github Repository.
This is an early-alpha-stage project, which I hope one day will become the UNIX equivalent of online tutorials such as http://try.github.io, CodeSchool, CodeAcademy, and others.
seq 5 seq -s, 0 5 100 ls -l cut -f1,7 -d: < passwd grep -iE '^(year|200[3-9])' nobel.csv | cut -f1,3 -d, wc -l mammals.txt nobel.csv printf "%d: %d\n" $(seq 7) cal feb 2000 grep -q "sync" passwd && echo "found" || echo "not found" FILE=/hello/world/foo/bar.md echo $(dirname $FILE)/output/$(basename $FILE .md).html export A=42 B=9 echo $((A/B)) date -d @$(($(date +%s)+86400)) +%A test "$(date +%a)" = Fri && echo TGIF fortune
/
)
and three text files (type ls -l
to list them).
CC=clang
)$HOME
),$((42/9))
)NAME=$(basename "$FILE" .txt)
)seq 10 | wc -l
),make && echo ok || echo failed
)sleep 10 ; touch 1.txt
)make || { echo make failed ; exit 1 ; }
)seq 10>hello.txt ; wc -l<hello.txt
)if
,for
,while
)export
, readonly
, set
, unset
).$((9*6==42))
${FOO:-BAR}
)${FOO##BAR}
)case
control structurebasename
, cal
,cat
, cut
,
date
,
dirname
, echo
, false
, grep
,head
,
paste
,
printf
, seq
, tac
, tail
, test
,
true
, wc
stat
, env
, find
, xargs
sed
, awk
.