Computer scienceSystem administration and DevOpsCommand lineText processing

Introduction to text processing: wc, cut, tr

File counts

Report a typo

Write a command to print newline, word, and byte counts for /tmp/test.txt file.

Sample Input 1:

Ubuntu
Linux
Tux
Linus

Sample Output 1:

4  4 23 /tmp/test.txt
Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here

}
___

Create a free account to access the full topic