Professional Documents
Culture Documents
<
>
2>
Using pipe (|) symbol and tee command perform the following given
tasks:
1. Grab the first line, last line or selected lines from a command output.
2. Count the number of files in any directory. (Hint: use wc and ls commands)
3. Count the number of lines of /etc/passwd, append the output in file.txt and
show it on terminal also.