Computer scienceSystem administration and DevOpsCommand lineWorking with files

Viewing files in shell

Text's head

Report a typo

Read the "/tmp/test.txt" file with the head utility, and make it print the first line.

Sample Input 1:

I'll tell you a story
About Jack a Nory;
And now my story's begun;

Sample Output 1:

I'll tell you a story
Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here

}
___

Create a free account to access the full topic