I am using these commands in Linux Kali but I keep getting an error when I run the second command: No such file or directory found.end=7gbread start _ < <(du -bcm kali-linux-1.0.8.amd64.iso | tail -1); echo $startparted /dev/sdb mkpart primary $start $endThese are some commands out of a larger set of commands I am using to try to get persistence. I do not actually know what any of these mean.My request is for an explanation of what each command does so I can fix my errors.
What does these commands do?
command line;kali linux;disk usage;read;parted
read start _This assigns the first word (according to $IFS) of the input line to the variable start.du -bcm kali-linux-1.0.8.amd64.iso | tail -1is a strange way for getting the size of the file, rounded up to the next megabyte.parted /dev/sdb mkpart primary $start $endcreates a partition on sdb which begins after the space necessary for the iso file (assuming the default unit for parted is megabyte which I have not checked) and ends at 7GB.