From c05f93e656854a8bcf592e66345d5a7564f5a65f Mon Sep 17 00:00:00 2001 From: Clement Desmidt Date: Thu, 9 Feb 2017 16:08:43 +0100 Subject: [PATCH] =?UTF-8?q?:tada:=20Premi=C3=A8res=20r=C3=A9ponses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..97aad74 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +echo "hello world" +pwd +ls +cat access.log +tail -n 5 access.log +grep "GET" access.log +grep -c -P '\t' file-with-tabs.txt +grep -l 500 * +ls | grep 'access.log*' +find . -type f -name "access.log*" -exec grep -hP '500' {} \; +find . -type f -name "access.log*" -exec grep -oP '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}' {} \; +??? +??? +cat access.log | sort +??? +??? +??? +rm -- -*rm +find . -type f -name "*.doc" -exec rm {} \; +??? +find . -type f -name "*.txt" -exec sed -i 's/challenges are difficult//g' {} \; +??? +find . -type f -exec basename {} \; +