When you check for sfdisk, after the "please install sfdisk" message I would add an "exit 1" , since if sfdisk is not installed it's going to give you error afterwards. And I also would use " " in the printf at the end of the line, like this: "Bla bla bla bla " instead of creating just a "printf " "" to create a new line, but thats just my OCD :D Looking forward to watching the next video ;)
I agree, there is some debugging and optimization to do, but that is for another video. Thanks for watching and for your feedback I always appreciate it.
One thing to consider, is there are a number of people that like to have /home on a second drive. With my system I've got a .5TB main drive and a 1TB secondary drive for /home.
Nice video, thanks. I am not very experienced with shell scripting but know how to use fdesk and did install some distros in the past. this series will be a good resource for me to learn shell scripting.
@@JakeLinux just fair warning... I might steal something from this script in the future... But I will definitely credit you and probably link to the video I got it from. Lol
@@linuxdabbler haha, feel free, it's all out there in hopes of someone being able to use it or modify it. In fact I hope people find it worth "stealing".
neat. i'm curious about the outcome at the end. i think i got a pretty good idea what you are up to. idealy i will be able to steal some bits and pieces here and there for my own script stuff :)
Feel free to steal away, I am going to move it to its own repo here in a few days so it will be accessible, at least the parts I want to be accessible at the moment.
Hei Jake, this was a really cool video, really fun to watch you making the script and also very good to review basic stuff, I'm doing a shell script with a course and a book at the moment. Would be awesome if you keep this kind of video going, also de git one as cool too.
Nice one, Jake. I'm interested to see the completed project. Looks like the beginnings of a customized linux install script. Should I delete this post to keep it a surprise? I will if you tell me to ;)
Welcome to the channel! Thanks for the like, comment, and sub I appreciate you. I'm not sure where the picture on my wallpaper was taken, I just liked the image and the colors made for a good system color scheme.
You made my OCD scream when you forgot to capitalize the "What" and to place the space in the correct place at the end in the homepart prompt.... I hope this counts as constructive criticism....
Another thing you could do is just prompt the user for the "sdx..." instead of the whole "/dev/sdx...". Here's and example in a function I created in my bashrc file to eject external devices from command line. It is in Spanish, but I think it can be understood well: expulsa() { lsblk -o NAME,TYPE,SIZE,MOUNTPOINT echo; read -p ":: Unidad a expulsar (ej.: sdb1): /dev/" un_exp udisksctl unmount -b /dev/$un_exp udisksctl power-off -b /dev/$un_exp }
I have lots in mind to improve this and optimize it, but keep the suggestions coming, I always enjoy hearing other people's ideas and how they would do things.
Awesome format! Looking forward to future episodes!
Thanks, hopefully I don't disappoint
When you check for sfdisk, after the "please install sfdisk" message I would add an "exit 1" , since if sfdisk is not installed it's going to give you error afterwards. And I also would use "
" in the printf at the end of the line, like this: "Bla bla bla bla
" instead of creating just a "printf "
"" to create a new line, but thats just my OCD :D Looking forward to watching the next video ;)
I agree, there is some debugging and optimization to do, but that is for another video. Thanks for watching and for your feedback I always appreciate it.
This is my style of learning. Thank you.
One thing to consider, is there are a number of people that like to have /home on a second drive. With my system I've got a .5TB main drive and a 1TB secondary drive for /home.
Good point, that may take a little work but I will look into that. Thanks!
Nice video, thanks. I am not very experienced with shell scripting but know how to use fdesk and did install some distros in the past. this series will be a good resource for me to learn shell scripting.
Thanks, I hope this can help, thanks for watching
Thanks for the video and a great idea. Can't wait to see more on this project!
You're very welcome, this will be a longer project but hopefully it will be as useful as I think it will.
This is something I would watch even after being forced to use windows
Glad you enjoyed it.
Looking forward to seeing more from this project. I think I have a good idea of where you are going with this.
I have been looking forward to his project for a while, it's nothing spectacular but it should be pretty fun and hopefully useful.
@@JakeLinux just fair warning... I might steal something from this script in the future... But I will definitely credit you and probably link to the video I got it from. Lol
@@linuxdabbler haha, feel free, it's all out there in hopes of someone being able to use it or modify it. In fact I hope people find it worth "stealing".
@@linuxdabbler The FOSS spirit.
And I got this notification! But not the last one. Weird. Thanks for the content Jake!
Your Bash knowledge is appreciated
Glad it is notifying again, and always happy to share.
neat. i'm curious about the outcome at the end. i think i got a pretty good idea what you are up to. idealy i will be able to steal some bits and pieces here and there for my own script stuff :)
Feel free to steal away, I am going to move it to its own repo here in a few days so it will be accessible, at least the parts I want to be accessible at the moment.
Hei Jake, this was a really cool video, really fun to watch you making the script and also very good to review basic stuff, I'm doing a shell script with a course and a book at the moment. Would be awesome if you keep this kind of video going, also de git one as cool too.
Glad you liked it, I plan on doing more of this type of content, at least as long as people enjoy it. Thanks for watching and for the kind words.
Great video! Keep them coming! :)
Thank you!
Nice one, Jake. I'm interested to see the completed project. Looks like the beginnings of a customized linux install script. Should I delete this post to keep it a surprise? I will if you tell me to ;)
Thanks, and you may be right but you might be wrong as well. We will just have to see.
Liked and subscribed from Patagonia Argentina. Where’s your wallpaper? Looks like EU, Netherlands or Belgium.
Welcome to the channel! Thanks for the like, comment, and sub I appreciate you. I'm not sure where the picture on my wallpaper was taken, I just liked the image and the colors made for a good system color scheme.
just call "sync" so it reads the changes done to filesystems instead of a pause
Good tip, thanks.
Sweet vid Jake.
Thanks!
interactive shell scripts are great, I like to make central/general/global rofi launcher to run other rofi launchers
I enjoy those as well, I started using fzf instead of dmenu or rofi a while ago, but I may switch it up a little and use rofi
Another banger🥶🥶
Thank you
You made my OCD scream when you forgot to capitalize the "What" and to place the space in the correct place at the end in the homepart prompt....
I hope this counts as constructive criticism....
That counts, I noticed the space, but I missed the w.
@@JakeLinux Well, I'm a professional freak about this kind of stuff.... lol
💕 P r o m o s m
Another thing you could do is just prompt the user for the "sdx..." instead of the whole "/dev/sdx...". Here's and example in a function I created in my bashrc file to eject external devices from command line. It is in Spanish, but I think it can be understood well:
expulsa() {
lsblk -o NAME,TYPE,SIZE,MOUNTPOINT
echo; read -p ":: Unidad a expulsar (ej.: sdb1): /dev/" un_exp
udisksctl unmount -b /dev/$un_exp
udisksctl power-off -b /dev/$un_exp
}
I have lots in mind to improve this and optimize it, but keep the suggestions coming, I always enjoy hearing other people's ideas and how they would do things.
@@JakeLinux That's why I like watching your scripting videos. You always learn something or a new way to to do something ;)