linux - Bash Shell Script that asks user to enter a file and then modifies said file -


I am just beginning and I was wondering how to create a script that the user should enter a file To modify, file the recorded file and then modify it with the set parameter.

  #! / Bin / bash read -p "Enter file name:" fname $ fname #output: #Enter File name: foo.txt # foo.txt    

Comments

Popular posts from this blog

wpf - ControlTemplate with changes for every class -

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

sql - Return Function using Cursor -