Shell scripting Basic interview questions
Aug 23, 2024 · 4 min read · 1**.What is the best way to run a script in the background?** Ans: For a script to run in the background, simply add "&" at the end of the command. Example: script.sh & What is the use of the "$?" command? Ans: By using the command "$?", you can fi...
Join discussion



