P
physicalgrafitti75
Guest
Hello.
I tried searching the site to find an example of this but could not locate.
I am trying to use the ls command to assign a filename to a parameter that I will use later in my script.
I want the name of a file in that directory that ends with the extension .trg
the command I have coded in the script is:
param = `ls input/${file_name}*.trg`
it says that param: not found [no such file or directory]
The file is there....
Ideas?
I tried searching the site to find an example of this but could not locate.
I am trying to use the ls command to assign a filename to a parameter that I will use later in my script.
I want the name of a file in that directory that ends with the extension .trg
the command I have coded in the script is:
param = `ls input/${file_name}*.trg`
it says that param: not found [no such file or directory]
The file is there....
Ideas?