Lets do some shell scripting!

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 45

  • @zhenya2055
    @zhenya2055 ปีที่แล้ว +3

    Awesome format! Looking forward to future episodes!

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      Thanks, hopefully I don't disappoint

  • @Miguel_GM
    @Miguel_GM ปีที่แล้ว +4

    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 ;)

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      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.

  • @lightninguru26
    @lightninguru26 5 หลายเดือนก่อน

    This is my style of learning. Thank you.

  • @anon_y_mousse
    @anon_y_mousse ปีที่แล้ว +2

    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.

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      Good point, that may take a little work but I will look into that. Thanks!

  • @amdgaafar
    @amdgaafar ปีที่แล้ว +1

    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
      @JakeLinux  ปีที่แล้ว

      Thanks, I hope this can help, thanks for watching

  • @jimrakel418
    @jimrakel418 ปีที่แล้ว +1

    Thanks for the video and a great idea. Can't wait to see more on this project!

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      You're very welcome, this will be a longer project but hopefully it will be as useful as I think it will.

  • @vedantmatanhelia1016
    @vedantmatanhelia1016 ปีที่แล้ว +1

    This is something I would watch even after being forced to use windows

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      Glad you enjoyed it.

  • @linuxdabbler
    @linuxdabbler ปีที่แล้ว +2

    Looking forward to seeing more from this project. I think I have a good idea of where you are going with this.

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      I have been looking forward to his project for a while, it's nothing spectacular but it should be pretty fun and hopefully useful.

    • @linuxdabbler
      @linuxdabbler ปีที่แล้ว +3

      @@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

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +2

      @@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".

    • @folksurvival
      @folksurvival ปีที่แล้ว +1

      @@linuxdabbler The FOSS spirit.

  • @wyfyj
    @wyfyj ปีที่แล้ว +1

    And I got this notification! But not the last one. Weird. Thanks for the content Jake!
    Your Bash knowledge is appreciated

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      Glad it is notifying again, and always happy to share.

  • @torsten.breswald
    @torsten.breswald ปีที่แล้ว +1

    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 :)

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      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.

  • @rato_gordo
    @rato_gordo ปีที่แล้ว +1

    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.

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      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.

  • @AlexDBall
    @AlexDBall ปีที่แล้ว +1

    Great video! Keep them coming! :)

  • @tambuchalinux
    @tambuchalinux ปีที่แล้ว +1

    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 ;)

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      Thanks, and you may be right but you might be wrong as well. We will just have to see.

  • @danilodistefanis5990
    @danilodistefanis5990 ปีที่แล้ว +1

    Liked and subscribed from Patagonia Argentina. Where’s your wallpaper? Looks like EU, Netherlands or Belgium.

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      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.

  • @lguilh
    @lguilh ปีที่แล้ว +1

    just call "sync" so it reads the changes done to filesystems instead of a pause

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      Good tip, thanks.

  • @itsfish8672
    @itsfish8672 ปีที่แล้ว +1

    Sweet vid Jake.

  • @naranyala_dev
    @naranyala_dev ปีที่แล้ว +1

    interactive shell scripts are great, I like to make central/general/global rofi launcher to run other rofi launchers

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว

      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

  • @B1ADE99
    @B1ADE99 ปีที่แล้ว +1

    Another banger🥶🥶

  • @alejomdp
    @alejomdp ปีที่แล้ว +1

    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....

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      That counts, I noticed the space, but I missed the w.

    • @alejomdp
      @alejomdp ปีที่แล้ว

      @@JakeLinux Well, I'm a professional freak about this kind of stuff.... lol

  • @raymondfloyd6397
    @raymondfloyd6397 ปีที่แล้ว

    💕 P r o m o s m

  • @Miguel_GM
    @Miguel_GM ปีที่แล้ว +2

    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
    }

    • @JakeLinux
      @JakeLinux  ปีที่แล้ว +1

      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.

    • @Miguel_GM
      @Miguel_GM ปีที่แล้ว

      @@JakeLinux That's why I like watching your scripting videos. You always learn something or a new way to to do something ;)