9

Echo variable contents into a text file...

view full story
linux-howto

http://www.unix.com – Hi all, I am trying to create a script to read my Windows UUIDs and create mounts in fstab. I know there are different and maybe even better ways to mount Windows partitions at boot time, but I always manually create them in fstab successfully. I do a clean install of Ubuntu often and would like to just run a script to do it for me. I have created a script, but I can't echo a variable contents into fstab. I am semi-new at Linux scripting (been batch/dos scripting for years) so please take it easy on me when you see I've done something wrong lol. Here's my code: Code: #!/bin/bash #Reads W (HowTos)