I am trying to write my first script. It's not much of an effort, but I would like to understand why it doesn't work and the principle behind the correction.
Code:
su
growisofs -Z /dev/dvd -dvd-compat -r -v /home
It executes the 'su' and accepts my PW and then stops.