Read the "/tmp/test.txt" file with the tail utility, and make it print the last two lines.
Viewing files in shell
Text's tail
Report a typo
Sample Input 1:
Lucy Locket lost her pocket,
Kitty Fisher found it;
Not a penny was there in it,
Only ribbon round it.Sample Output 1:
Not a penny was there in it,
Only ribbon round it.Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.