Skip to main content
stated the obvious.
Source Link
Bibek_G
  • 549
  • 1
  • 7
  • 19

You can very well use echo for that purpose.

$ cat new
echo 1
$ number=$(./new)
$ echo $number
1

I think that serves the purpose. Also note that new above is the script that you're gonna write.

comment below if I mis-assumed something

You can very well use echo for that purpose.

$ cat new
echo 1
$ number=$(./new)
$ echo $number
1

I think that serves the purpose.

comment below if I mis-assumed something

You can very well use echo for that purpose.

$ cat new
echo 1
$ number=$(./new)
$ echo $number
1

I think that serves the purpose. Also note that new above is the script that you're gonna write.

comment below if I mis-assumed something

Source Link
Bibek_G
  • 549
  • 1
  • 7
  • 19

You can very well use echo for that purpose.

$ cat new
echo 1
$ number=$(./new)
$ echo $number
1

I think that serves the purpose.

comment below if I mis-assumed something