That means you need to specify the full path of the file.
Fig 1. shows the script that we don't use the full path filename as it is the value of variable BASE. Fig 2. shows the output of the script which shows the error message "No such file or directory"
Fig 1. Script that has an error (gq1v1.sh)
Fig 2. Output from Using gq1v1.sh
When we change the script to refer to the file by using the full path as shown in Fig. 3, we can see that now we can access the file as shown in Fig. 4
Fig 3. Script that uses the full path filename (gq1.sh)
Fig. 4 The script out that lets us view the file
No comments:
Post a Comment