diff --git a/SC2162----read-without--r-w.md b/SC2162----read-without--r-w.md new file mode 100644 index 0000000..efa98cb --- /dev/null +++ b/SC2162----read-without--r-w.md @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +#using cut command and wile loop +#cut -d ':' -f1,3,6 /etc/passwd +cut -d ':' -f1,3,6 /etc/passwd | while read line;do +echo "$line" +done \ No newline at end of file