Answers for "read file command in linux"

18

read file using shell script

#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
  echo "$line"
done < "$input"
Posted by: Guest on February-22-2020
0

txt file open command linux

### you can use
less filename.txt
Posted by: Guest on November-10-2021

Code answers related to "read file command in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language