Answers for "open file in bash command"

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
2

how to open files from git bash

code file.py 
atom file.py
start file.py
Posted by: Guest on April-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language