View Code? Open in Web Editor
NEW
Answers to cmdchallenge.com
cmdchallenge's Introduction
echo "hello world"
pwd
ls
cat access.log
tail --lines 5 access.log
grep GET access.log
grep -P '\t' file-with-tabs.txt | wc -l
grep -r -l "500"
find -name "access.log*"
grep -r -h --include "access.log*" 500
grep -o -r --include "access.log*" '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'
rm -rf * .*
ls | wc -l
sort access.log | cat
grep "GET" access.log | wc -l
cat split-me.txt | sed "s/;/\\n/g"
seq -s ' ' 1 100
rm -r -- -a -f -foo
find . -name "*.doc" -type f -print0 | xargs -0 rm -f
or find . -name "*.doc" -type f -delete
find . -type f ! -name "*.txt" -a -not -name "*.exe" -delete
cmdchallenge's People
Contributors
Stargazers
Watchers