How Do I Open a Script in Unix?
Contents How Do I View Scripts in Linux? 2 Answers Use the Find Command for It in Your Home: Find ~ -Name Script. Sh. If You Didn’t Find Anything with the...
Contents
How do I view scripts in Linux?
2 Answers
- Use the find command for it in your home: find ~ -name script.sh.
- If you didn’t find anything with the above, then use the find command for it on the whole F/S: find / -name script.sh 2>/dev/null. ( 2>/dev/null will avoid unnecessary errors to be displayed) .
- Launch it: /<whatever_the_path_was>/script.sh.
Must Read
How do I run a shell script?
Shell Scripts are written using text editors. On your Linux system, open a text editor program, open a new file to begin typing a shell script or shell programming, then give the shell permission to execute your shell script and put your script at the location from where the shell can find it.