Questions

  1. How do you subtract 8 from 25 using shell scripting?
  2. What is wrong with the following code? And how can you fix it?
$ rm my file
  1. What is the problem with the following code?
#!/bin/basha=(( 8 + 4 ))echo $a

Get Mastering Linux Shell Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.