Task: Get the First Line of a File in Bash
Task: Get the First Line of a File in Bash: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that reads the first line of a file and stores it in a variable. The script should then output this variable to demonstrate that the first line was successfully captured.
The task
Write a bash script that reads the first line of a file and stores it in a variable. The script should then output this variable to demonstrate that the first line was successfully captured.
Part of PrimeIntellect/Terminal-Lego-15k.