Shell Scripting Tutorial

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 860

  • @derekbanas
    @derekbanas  5 лет назад +57

    Learn in One Videos for Every Programming Language
    Subscribe to Bookmark them: bit.ly/2FWQZTx
    C++ : ruclips.net/video/Rub-JsjMhWY/видео.html
    Python : ruclips.net/video/N4mEzFDjqtA/видео.html
    Java : ruclips.net/video/n-xAqcBCws4/видео.html
    PHP : ruclips.net/video/7TF00hJI78Y/видео.html
    MySQL : ruclips.net/video/yPu6qV5byu4/видео.html
    JavaScript : ruclips.net/video/fju9ii8YsGs/видео.html
    C# : ruclips.net/video/lisiwUZJXqQ/видео.html
    HTML5 : ruclips.net/video/kDyJN7qQETA/видео.html
    CSS3 : ruclips.net/video/CUxH_rWSI1k/видео.html
    JQuery : ruclips.net/video/BWXggB-T1jQ/видео.html
    TypeScript : ruclips.net/video/-PR_XqW9JJU/видео.html
    ECMAScript : ruclips.net/video/Jakoi0G8lBg/видео.html
    Swift : ruclips.net/video/dKaojOZ-az8/видео.html
    R : ruclips.net/video/s3FozVfd7q4/видео.html
    Haskell : ruclips.net/video/02_H3LjqMr8/видео.html
    Handlebars : ruclips.net/video/4HuAnM6b2d8/видео.html
    Bootstrap : ruclips.net/video/gqOEoUR5RHg/видео.html
    Rust : ruclips.net/video/U1EFgCNLDB8/видео.html
    Matlab : ruclips.net/video/NSSTkkKRabI/видео.html
    Arduino : ruclips.net/video/QO_Jlz1qpDw/видео.html
    Crystal : ruclips.net/video/DxFP-Wjqtsc/видео.html
    Emacs : ruclips.net/video/Iagbv974GlQ/видео.html
    Clojure : ruclips.net/video/ciGyHkDuPAE/видео.html
    Shell : ruclips.net/video/hwrnmQumtPw/видео.html
    Perl : ruclips.net/video/WEghIXs8F6c/видео.html
    Perl6 : ruclips.net/video/l0zPwhgWTgM/видео.html
    Elixir : ruclips.net/video/pBNOavRoNL0/видео.html
    D : ruclips.net/video/rwZFTnf9bDU/видео.html
    Fortran : ruclips.net/video/__2UgFNYgf8/видео.html
    LaTeX : ruclips.net/video/VhmkLrOjLsw/видео.html
    F# : ruclips.net/video/c7eNDJN758U/видео.html
    Kotlin : ruclips.net/video/H_oGi8uuDpA/видео.html
    Erlang : ruclips.net/video/IEhwc2q1zG4/видео.html
    Groovy : ruclips.net/video/B98jc8hdu9g/видео.html
    Scala : ruclips.net/video/DzFt0YkZo8M/видео.html
    Lua : ruclips.net/video/iMacxZQMPXs/видео.html
    Ruby : ruclips.net/video/Dji9ALCgfpM/видео.html
    Go : ruclips.net/video/CF9S4QZuV30/видео.html
    Objective C : ruclips.net/video/5esQqZIJ83g/видео.html
    Prolog : ruclips.net/video/SykxWpFwMGs/видео.html
    LISP : ruclips.net/video/ymSq4wHrqyU/видео.html
    Express : ruclips.net/video/xDCKcNBFsuI/видео.html
    Jade : ruclips.net/video/l5AXcXAP4r8/видео.html
    Sass : ruclips.net/video/wz3kElLbEHE/видео.html

    • @KyleMoran626
      @KyleMoran626 5 лет назад +2

      Ok, your format and pace is outstanding. One suggestion for people like me looking for this type of content.
      Expand on your "one video" trademark, experiment a little. I don't know if longer videos actually get less playtime, but it is known that RUclips's content gets shorter and shorter as people's attention spans are changing. Don't conform to this. Capitalize on the "in one video" thing and maybe add a unique hotword to them (fastpace synonym - something catchy). Man this video style is just great for me, you got a new sub and I'm sending your channel to everyone who wants to learn fast. I rarely comment on videos but had to let you know this is special here. Just gotta promote the brand if your other videos are similar.

    • @hcgaron
      @hcgaron 5 лет назад +1

      @@KyleMoran626 yeah excellent video. I'd gladly watch others if I need to brush up.

    • @marcospinto9380
      @marcospinto9380 5 лет назад

      I have an importante question :) did you ever meet a stutterer that pronounced your name bananas? JK

    • @braindeveloperdimensional5579
      @braindeveloperdimensional5579 4 года назад +1

      I really like your tutorials.
      I'm waiting for your TCL tutorial, when is it going to come?

    • @Hellohiq10
      @Hellohiq10 4 года назад

      What about good old C?

  • @Rozenkrantzz
    @Rozenkrantzz 7 лет назад +670

    vim @ 0:55
    bash comments/printing @ 5:05
    variables @ 7:35
    constants @ 8:15
    arithmetic @ 8:39
    using python commands @ 13:08
    multi-line printing @13:45
    functions @ 15:10
    reading input @ 19:16
    conditionals @ 20:00
    logical operators @ 24:27
    files (create / remove) @ 25:24
    strings @ 26:57
    files (checks) @ 29:00
    regular expressions @ 30:43
    more on input / output @ 32:20
    case statements @ 39:00
    parameter expansions @ 42:02
    looping @ 43:47
    arrays @ 50:56
    positional parameters (command line args) @ 56:35

  • @jamespretlow3028
    @jamespretlow3028 8 лет назад +253

    I like the speed of your tutorial. There is no time to get distracted.

    • @derekbanas
      @derekbanas  8 лет назад +35

      Thank you :)

    • @TheDuckofDoom.
      @TheDuckofDoom. 7 лет назад +4

      I need to hit stop every time somebody says anything to me and rewind a bit, but in a good way, as said it cultivates focus.
      (this pace with this type of presentation works well, this pace if part of a general concept/explanatory lecture would not be recommended.)

    • @Androidzombie1
      @Androidzombie1 6 лет назад

      I usually watch these videos at 1.5x or 2x speed and also use the cheatsheet as a guide and i find that works for me to quickly go through these videos.

    • @xrafter
      @xrafter 4 года назад

      @@derekbanas
      You are still slow tho .
      I need to put it to 2x speed

  • @israrahmad4260
    @israrahmad4260 5 лет назад +36

    VIM Cheat sheet (based on video, thanks to Derek)
    • "Shift +a" (Upper case A) put you in insert mode
    • "Shift + g" (Upper case G) will let you go to last line
    • Pressing "o" will move you to next line in insert mode after "Shift + g"
    • "w" move forward to next word (first char of word)
    • "b" move backward to last word (first char of word)
    • "0" (zero) beginning of the line. "$" end of the line
    • Global settings like syntax on, autoindent can be saved in vimrc file, located in user home directory. This will make them permanent as well.
    • "Shift + v" (Upper case V) will select the line, use arrow key to select more. "v" will select the character.
    • "d" to delete (or cut) the text.
    • "y" to copy
    • "p" to paste
    • "u" to undo
    • Press Esc for command mode type ":" and commands
    ○ q! -: Quit without saving
    ○ wq -: Save and quit
    ○ set number -: will display the line numbers
    ○ syntax on -: Will show syntax highlighting
    ○ set tabstop=2 -: Set tab space to given number
    ○ set autoindent -: for auto indent new line

    • @derekbanas
      @derekbanas  5 лет назад +4

      Thank you for sharing :)

    • @BiloGadget
      @BiloGadget 3 года назад

      in linux you can also do ctrl-c along with esc to enter command mode. not sure if it translates to mac-os though.

  • @SuperDanny1016
    @SuperDanny1016 8 лет назад +143

    Derek you're a mind reader I just started my internship and it's all bash scripting... Great timing Thanks!

    • @derekbanas
      @derekbanas  8 лет назад +21

      Awesome :) I'm glad I could help

    • @banu6301
      @banu6301 8 лет назад +4

      it happed to me too with the assembly tutorials :))

    • @davidnovosardian6848
      @davidnovosardian6848 7 лет назад

      do recruiters like it when they see u can do bash scripting?

    • @thesavagesalmon9464
      @thesavagesalmon9464 5 лет назад +1

      @@davidnovosardian6848 Probably a requirement for backend dev jobs. UNIX utilities often used in shell scripts such as grep, cat etc are useful when working in the backend, without any GUI layer

  • @sebastiantu6212
    @sebastiantu6212 5 лет назад

    Just starting an internship in 3 days, and they emailed me to "brush up" on linux shell scripting. I've never done it and I'm not sure why they think I have. I finished this video, and it has been hugely helpful! Just a lot of densely packed information so I will probably watch it a couple more times. Thanks a bunch, super helpful!

    • @derekbanas
      @derekbanas  5 лет назад

      Thank you :) I wish you the best at your internship!

  • @ilshatabdulmanov2140
    @ilshatabdulmanov2140 3 года назад

    Out of many ,best in its kind.
    This tutorial beats a line of many others I`ve watched so far.
    This guy deserves a thumbs up.

    • @derekbanas
      @derekbanas  3 года назад

      Thank you for the compliment I'm happy I could help :)

  • @dl8cy
    @dl8cy 8 лет назад +487

    That was a whole semenster in one hour - great!

  • @Earlosaur
    @Earlosaur 8 лет назад

    The amount of material you produce is just... words can't describe how much I love you.

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you for the nice compliment :)

  • @steveburrus9347
    @steveburrus9347 6 лет назад +1

    Is thjere NO END to the ENORMOUS praise for Derek Banas on any particular tech nology that he wants to talk about?!

  • @christopherfujino
    @christopherfujino 8 лет назад

    Subscribed to you a long time ago because of your great tutorials, but I haven't made the time to watch any of your videos in a real long time. Saw this, and I'd been wanting to learn BASH scripting, and I remembered again why I subscribed. You have the best programming tutorials online bar none, and I really need to spend the time investing in myself by watching more of your videos! Thanks so much!

    • @derekbanas
      @derekbanas  8 лет назад +1

      Thank you for the nice compliment :) I hope you find this tutorial useful.

  • @DomHarness
    @DomHarness 6 лет назад

    Really like the speed of this! Nothing worse then a person getting distracted or ranting off about random things. Thanks for the awesome video!

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you :) I do my best to not waste time

  • @tomiantenna7279
    @tomiantenna7279 4 года назад

    Wow, no Wadsworth Constant necessary for this video- it gets straight into the content without fuss! Love it! Thank you.

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you :) I don't like to waste peoples time

  • @emiliahane
    @emiliahane 4 года назад

    correction 53:20 - indirect refferencing using ' ! ' is how to print out indexes
    for i in ${!fav_nums[@]} ... equivalent to for i in ${!fav_nums[*]} ...
    thank you so much!!! great pace and explanations, definitely one of the best tutorials on youtube

    • @derekbanas
      @derekbanas  4 года назад

      Thank you for the nice compliment :)

    • @xrafter
      @xrafter 4 года назад

      What is the difference???

  • @jeff_mci_gaming6018
    @jeff_mci_gaming6018 6 лет назад +2

    you got a lot done in 59minutes.. (precise and to the point) good stuff!

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you very much :) I'm happy I could be of help

  • @ravikiranmandha4005
    @ravikiranmandha4005 6 лет назад +3

    Thank you for another wonderful tutorial Derek. This is my second one after mySQL tutorial. We really appreciate your clear and no-nonsense way of teaching. A tutorial on AWK, GREP, SED would be helpful if you plan on doing one ever in the future.

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you very much :) I'll see what I can do about your requests

  • @wesg01
    @wesg01 3 года назад

    The best tech vids I have found! I REALLY like the fast pace, and no unnecessary-fluff approach you take. Keep up the great work!

  • @LemonChieff
    @LemonChieff 6 лет назад +3

    If you are going to use vim I recommend watching a tutorial and maybe printing a cheatsheet at the beginning just until you get used to it.
    Also the best place to use vim is in any computer science class to show off. (People think it's hard to use. And there is a barrier to entry but once you can use it it's just the best bash text editor there is imo. Emacs is nice too. )

  • @sedeanimugamez5418
    @sedeanimugamez5418 5 лет назад

    the two best tutorials to learn by is the bash basics tutorial by joe collins and this one after, this one teaches scripting in bash and does offer some guidance into what the commands do, but not in the same detail as joe like the chmod commands could be explained with greater depth.Good vid.

  • @stanvanderplas5700
    @stanvanderplas5700 6 лет назад

    man you are a life saver, couldnt bare any more slow not straight to the point vids explaining this

  • @eoussama
    @eoussama 6 лет назад

    Derek looks like the kind of guy that has over a hundred stackoverflow accounts, spending his days answering people's questions in great details.

    • @derekbanas
      @derekbanas  6 лет назад

      It is a bit of an addiction :)

  • @witty437
    @witty437 2 года назад

    Great pace. Great structure. You got me passed all the kinks I have with the peculiar syntax the shell employs before I remembered to be pissed off looping out about it! ie, ge, le etc and ++before and after++ and calling python functions inside - these kept me from being able to read it effectively. When II tried to learn elsewhere that was the kind of stuff I never got to with their early examples that used more conventional syntax where possible but that don't look like the scripts you find in the wild and read. The good ones anyway. Thank you, sir!

    • @derekbanas
      @derekbanas  2 года назад +1

      Thank you for taking the time to tell me I helped :) I appreciate it!

  • @lapinblanc6746
    @lapinblanc6746 7 лет назад

    Great videos, Derek
    100 miles per hour, but short enough to watch in one sitting. Best tutorials on RUclips :)

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you very much :) I'm glad you like them

  • @WS-lv4kk
    @WS-lv4kk 7 лет назад +2

    Around 28:30 I think you're supposed to use '\' for lexicographic string comparison, but you used '' which are redirection operators. It's a coincidence your code worked.

    • @GazbertUK
      @GazbertUK 3 года назад

      Thanks for this comment, I've been trying to get this to work for about an hour you've come from the past to save my sanity. Who says time travel is dead!

  • @qodino
    @qodino 6 лет назад +2

    This was the best Shell Scripting tutorial I’ve seen on RUclips so far. Very well done. Thanks for sharing!

  • @richardlee5124
    @richardlee5124 3 года назад

    This is the best shell scripting tutorial I have ever watched.

    • @derekbanas
      @derekbanas  3 года назад

      Thank you for the nice compliment :) I did my best

  • @samsungyou2010
    @samsungyou2010 8 лет назад +22

    Again.. This is the Best.. The BEST.. The best tutorial ever.
    Thanks a lot Derek . It really helped a lot....

  • @michaelwheadon1078
    @michaelwheadon1078 7 лет назад

    I have never subscribed to a RUclips channel before .....but will make an exception for Mr. Banas.

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you for the nice compliment :)

  • @serdar4websites129
    @serdar4websites129 6 лет назад +1

    This tutorial helped me to overcome the fear against shell scripting. Thank you so much.

  • @VaibhavGupta9
    @VaibhavGupta9 7 лет назад

    I'll name my first-born after you Derek. You have saved my life more times than I can count!

    • @derekbanas
      @derekbanas  7 лет назад

      I'm very happy to be of service :)

  • @arshidkhan9585
    @arshidkhan9585 3 года назад

    Great tutorial. Derek knows art of fastest way of teaching. I had to stop a few times to learn about background material as Derek does not explain everything nor he should.
    It is up to you to fill in the gaps.

  • @sanctipaprichio
    @sanctipaprichio 6 лет назад

    hands down, this is how tutorials should looks like

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you for the compliment :)

  • @meyerjohannes
    @meyerjohannes 8 лет назад

    You know its funny, every time I think of a new concept/language/whatever i want to learn, i check your channel first. Today it was shell scripting, and low and behold look what your most recent vid is!

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you for the compliment :) I'm very happy I could help

    • @meyerjohannes
      @meyerjohannes 8 лет назад

      +Derek Banas I'm a little confused why you didn't explain that apt-get is a Linux package installer, not osx? vim (should) come already, but if not than apt-get won't work for osx.

  • @jimdaniels4595
    @jimdaniels4595 8 лет назад +1

    This is exactly what I needed. I just started using elementary OS as my primary OS and with continuous updates and commands I wondered how to automate it. I come from C++ on Windows so it took me sometime. not sure I still have it correctly. I wondered why you used (( instead of (. Then [ replaced ((. But then we ran into [[ to be replaced by {. A lil confused here. Thanks for the video, Loved it.

  • @Zachucks
    @Zachucks 4 года назад

    Watched this at double speed and took notes the entire time, got it all done in 30mins :)

  • @euclid9492
    @euclid9492 4 года назад

    Just want to say thanks for packing this information so tight. No one else does this because they don`t actually have that much to offer in a video so they stretch it out to 10x what it should be. I can see how it would be tempting to waste time and try to get more money with less work by filling in the videos with fluff, but I want to say thank you for not doing that!

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you for the compliment :) I'm happy some people appreciate how much time I spend on editing

  • @mikeseitz1381
    @mikeseitz1381 8 лет назад

    Glad you made a shell scripting video. I tend to review your videos before I start coding, It helps me remember all the little things. This one is going to be very useful!

    • @derekbanas
      @derekbanas  8 лет назад +2

      I'm very happy that I could help :)

  • @charlesclements4350
    @charlesclements4350 5 лет назад

    I am so glad that you know what you ae doing, Mr. Show off. If I want to know some thing, I'll be sure not to ask you. Like the lyrics of the song "Dirty Laundry", "After all that has been said and done, they haven't told you a thing."

    • @derekbanas
      @derekbanas  5 лет назад

      What would you have liked me to cover? I'm always happy to answer questions

    • @charlesclements4350
      @charlesclements4350 5 лет назад

      I will ask you later.

  • @jhonsen9842
    @jhonsen9842 5 месяцев назад

    Great Tutorial Derek , Appreciate your effort that with in 60 mints you taught us shell scripting.

  • @RonaldModesitt
    @RonaldModesitt 8 лет назад

    Do you ever sleep, or see your family? I don't believe I've ever seen anyone so busy. Thanks a lot for all the useful, interesting videos.

    • @derekbanas
      @derekbanas  8 лет назад

      That's funny :) I actually sleep about 5 hours per day. You're very welcome.

  • @tainoroyal6585
    @tainoroyal6585 7 лет назад

    Great tutorial. I love the pace of these. There's no waffle just pure gold.

  • @InsaneBastardGuy
    @InsaneBastardGuy 8 лет назад +50

    Put BASH in parenthesis on video title, took me a while to find it ...

    • @monday6740
      @monday6740 6 лет назад

      But the content makes up for it !

  • @sanchitkumar332
    @sanchitkumar332 6 лет назад

    This lecture saved me lot of hours of work....Thanks derek.

    • @derekbanas
      @derekbanas  6 лет назад

      I'm happy to be able to help :)

  • @ThomasProsserZurich
    @ThomasProsserZurich 8 лет назад +2

    Euler-Mascheroni Constant, golden ratio, base of natural log (Euler's number, sorry I'm Swiss, grew up with his face on our money...), pi and one of the Feigenbaum constants.

    • @derekbanas
      @derekbanas  8 лет назад +1

      That's funny :) You got them

  • @teewuane
    @teewuane 5 лет назад +6

    Every few minutes I look at the time line thinking I must have just covered 30 minutes. Nope, just covered 1 minute and 20 seconds.

    • @derekbanas
      @derekbanas  5 лет назад

      I did my best to pack a lot in :)

  • @ajoloteenvaso
    @ajoloteenvaso 6 лет назад

    Omg!!!!!! this is the 4th video of your channel I watch today.

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you very much :) I'm happy you like them

  • @stone2654
    @stone2654 5 лет назад +4

    Derek: "We're going to use Vim"
    Emacs User: *closes window*

    • @jasongifford6851
      @jasongifford6851 5 лет назад

      EVIL User: Good to go, I've got best of both, with a vi layer for Emacs.

    • @stone2654
      @stone2654 5 лет назад

      @@jasongifford6851 Get out of here with that nonsense!

  • @RAJATTHEPAGAL
    @RAJATTHEPAGAL 7 лет назад

    I must say you are really amazing at creating such short revision tutorial. They really do help to revise through everything quickly. I tried ur lisp and now this. :-)

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you for the nice compliment :)

  • @csisbw
    @csisbw 5 лет назад

    I created a MD/PDF of your transcript and I'm happy to send it to anyone who messages :) with your permission that is!
    Thanks for the vid btw has helped a lot!

  • @ryann6919
    @ryann6919 7 лет назад +1

    VIM...so underrated but so great once you learn how to use it

  • @kaiergin3179
    @kaiergin3179 8 лет назад

    Found out I needed to learn shell scripting today, Derek uploaded yesterday. Perfect timing and great video. Thanks so much!

    • @derekbanas
      @derekbanas  8 лет назад

      You're welcome :) I'm glad I could help

  • @bw2016
    @bw2016 Год назад

    Amazing, thanks mate! I last played with these back during Sun Microsys days...good memories thanks

  • @samtang6810
    @samtang6810 7 лет назад

    It's great!喜欢您的声音和您的语速,还有必须的,通俗易懂,thanks very much!

  • @mattviverette
    @mattviverette 6 лет назад

    FWIW, I know you love to move these videos along at an aggressive pace (and even acknowledge as much in the video) but I'm not sure I would call them tutorials. Maybe they would fly as a refresher or a crash course because they might remind someone how a language or technology works if that person had learned it already. I don't see how anyone could learn from scratch with these videos because they move too fast and lack thorough explanation of key concepts. It's not a matter of slowing the video down, it's that you gloss over way too much. Fun to watch, but I know better than to start with your videos when I'm learning something new. That said, I have a lot of respect for your broad knowledge and of course your Western PA roots. Thanks for putting all this content out on RUclips--it must take a lot of work to plan, record, and edit.

    • @derekbanas
      @derekbanas  6 лет назад

      Sorry you don't like them. The original concept was to provide tutorials that worked as CliffsNotes for review as well as a video that could be paused through with the provided commented code to learn from. I know they don't work for everyone. I make them this way because most every other tutorial on YT is very slow.

  • @complexham
    @complexham 8 лет назад

    I feel like having unlimited power after watching this video, Thanks Derek!

    • @derekbanas
      @derekbanas  8 лет назад

      Programming is Awesome! It is the first step to gaining super powers :)

  • @amarmundankar
    @amarmundankar 7 лет назад

    Very useful tutorial and most of the basics have been covered. Really appreciate it !!!

  • @kitgary
    @kitgary 5 лет назад

    Great video! Shell scripting is one of the hardest skill to learn to be a good backend developer, I have been working as a software developer for many years and still can't grasp shell scripting, it's too difficult and even more difficult to work with Linux commands like awk, sed, grep.

    • @derekbanas
      @derekbanas  5 лет назад

      Thank you :) I'm happy the video helped

  • @TanveerKhan-mb6bd
    @TanveerKhan-mb6bd 7 лет назад

    Just simply Woooow...first thing i did after watching this vid is subs...ur vid brought lotta confidence in me..thanks for the awesome work...

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you for the nice compliment :)

  • @jraphicqesign
    @jraphicqesign 8 лет назад

    I liked this video very much, and I can not imaging that how possible you can type and speak in such a speedy way with minimum errors, it is like you do not need to think at all, the word just came out from your mouth and fingers!!!

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you very much :) I'm nothing special I have just had a lot of practice. I've made almost 800 videos.

    • @jraphicqesign
      @jraphicqesign 8 лет назад

      you were a developer before?

    • @derekbanas
      @derekbanas  8 лет назад

      I still work as a programmer

  • @saveliybaranov1665
    @saveliybaranov1665 6 лет назад +2

    In order to close the overall if statement you're going to type fi. Because it's if backwards.
    Cool.

    • @chuckitaway466
      @chuckitaway466 4 года назад

      Now we just need to change HTML closing tags to LMTH

  • @kaleeswarankalimuthu758
    @kaleeswarankalimuthu758 7 лет назад

    Awesome !!. I like the way you explained all in a single video .

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) I'm glad it helped

  • @ThePein124
    @ThePein124 6 лет назад

    better than bought tutorials, thanks Derek

  • @wsteve
    @wsteve 8 лет назад

    This is awesome, you channel is the only serious one that i subscribed

  • @cerenademe9433
    @cerenademe9433 7 лет назад

    Thank goodness I took that Java class!............. Bash scripting on steroids. Thanks, Man

    • @derekbanas
      @derekbanas  7 лет назад

      I'm very happy I could help :)

  • @WillMcCKill
    @WillMcCKill 6 лет назад

    Thank you for this. I took a whole lot of notes from this video (in the form of shell scripts)

    • @derekbanas
      @derekbanas  6 лет назад +1

      I'm happy you liked it :)

  • @xrafter
    @xrafter 4 года назад

    You need to talk more about the "all in the shell are just strings" a little bit more.

  • @Colstonewall
    @Colstonewall 8 лет назад +19

    You could do a 3 hour video on just learning VIM, Derek, lol.

    • @derekbanas
      @derekbanas  8 лет назад +8

      Yes I could. I love Vim :)

    • @DevanSisson
      @DevanSisson 8 лет назад +1

      well you should. one of your "learn in one video" series episodes.

  • @Dalboni
    @Dalboni 7 лет назад

    This is AWESOME!
    We need more videos like this.

  • @FishKungfu
    @FishKungfu 8 лет назад +1

    I just recently discovered your videos and they are great! I wonder if displaying which keys you are pressing might help, using something like screenkey. It may just add screen clutter, but might be worth evaluating. Thanks for your awesome videos!

    • @derekbanas
      @derekbanas  8 лет назад +1

      Thank you for the input :) I looked at screenkey and I think it would be better if I just put up the keys when I issue a command. I will definitely do that from now on.

    • @FishKungfu
      @FishKungfu 8 лет назад

      Oh cool! Yeah that makes sense. Thanks very much for considering trying that. :-)

    • @derekbanas
      @derekbanas  8 лет назад +1

      No problem. I love getting input on how to improve the videos

  • @saeedbaig4249
    @saeedbaig4249 7 лет назад

    8:15 - I believe you can also declare a constant with "readonly" (same effect as "declare -r").

  • @AnmolKumar-qp3iv
    @AnmolKumar-qp3iv 8 лет назад

    Perfect video for a student to learn. Man You deserve something. you can make an adfly account to earn more. we'll follow your links for no reason but to pay you some money indirectly.

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you very much :) I'll look into that. I'm actually pretty happy now. I just want to make enough to cover the books and other stuff and I make that now.

    • @AnmolKumar-qp3iv
      @AnmolKumar-qp3iv 8 лет назад

      you won't believe me. i live in a world in which learning from video tutorial (or indirectly using computer) is not study. reading book is only priority for a student and parents always think one is successful only when he/she clears IIT or MBBS. these things are worthless for parents and my parents also don't support me. my only wish is to get out of here and live a real life and you are helping BIG THANKS

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you for taking the time to tell me :) I'm very happy that I can help. Making your parents happy is extremely important, but if your life goes as mine did around 20 or 21 you will be on your own and will have to live off of your skills. It is best to develop skills based around what you are passionate about and that can make you money. I wish you all the best

    • @AnmolKumar-qp3iv
      @AnmolKumar-qp3iv 8 лет назад

      Thanks. You're a good person. thanks for the advice. have a nice day my friend

    • @derekbanas
      @derekbanas  8 лет назад

      I'm very happy that I can help :)

  • @Cespasbeau
    @Cespasbeau 7 лет назад

    Easy to follow and absorb the scripting content presented - Thank You!

  • @tota_trader
    @tota_trader Год назад

    Very informative. Thanks for putting in so much effort to make such videos

  • @sankadines
    @sankadines 6 лет назад +3

    Disclaimer: Best used with .75x speed

  • @yamandanailalekkam614
    @yamandanailalekkam614 7 лет назад

    i've understand all my semester in that hour thank u very much ps; like ur voice *.*

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) I'm very happy that it helped

  • @brunocalhiari976
    @brunocalhiari976 7 лет назад +19

    man, how old are you and how old did you start learning to code?..I'm impressed with the amount of languages and techniques and tools you know

    • @derekbanas
      @derekbanas  7 лет назад +36

      Thank you :) I'm 42 and I started programming when I was 10. I'm not that smart. Anyone can do this

    • @brunocalhiari976
      @brunocalhiari976 7 лет назад +3

      I started coding with 18 and now I'm 22, really thank you for the reply, now I see I'm at the right pace knowing just a few languages :)

    • @HolyFosterConner
      @HolyFosterConner 7 лет назад +10

      there are 12 year olds in china who can single handedly take down US govt web servers and you are still learning how to code. hope that gives you an estimate of how much catching up you need to be doing

    • @SitNSpinRecords
      @SitNSpinRecords 7 лет назад +9

      follow the light don't try to catch up to the Chinese yet.. You'll burn out and quit.. You will start as a moron, then work up to a script kiddie, then a bottom feeder hacker, then the Russians, Indians, then Chinese 12 year olds.. Heheh. Just a thought...

    • @akhmadxfauzi
      @akhmadxfauzi 7 лет назад +2

      I lol'd =))))
      But seriously man, don't compare yourself with that 12 years old kid.

  • @C0PED0GG
    @C0PED0GG 7 лет назад

    Thanks for listening to your fans, an informative video Derek

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) Yes if enough people ask me for something I do my best to deliver

  • @HS-819
    @HS-819 7 лет назад

    Is there anything you don't know?! I have been following your work for over 4 years and I was wondering if you are a developer or teacher/professor? Thank you for your great work

    • @derekbanas
      @derekbanas  7 лет назад +2

      Thank you for watching for so long :) I'm a private consultant that has been programming for numerous industries my whole life. I'm not a professor, but I help students with projects in my off time.

    • @HS-819
      @HS-819 7 лет назад

      Good to know :)

  • @PJoriginal
    @PJoriginal 8 лет назад

    Awesome Video..
    Makes kickstarting shell scripting a lot easier.
    Thanks Derek

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you :) I'm glad it helped

  • @TheSam1902
    @TheSam1902 6 лет назад

    9:10 I'm a newbi in Vim (started 2 days ago yay) but a friend show me that you can simply type "yy" (double yank) to yank (copy) a whole line and then lowercase "p" to past it. Also, Ctrl+N is fking amazing

  • @s.baskaravishnu22
    @s.baskaravishnu22 6 лет назад

    your videos are excellent. Your videos are very much useful to me, Many thanks for that. My warm regards to you.I very much congratulate you for providing cheat sheets

  • @PranitKothari
    @PranitKothari 8 лет назад +23

    Great work. In near future can we see "Powershell in one video?"

    • @derekbanas
      @derekbanas  8 лет назад +14

      Thank you :) I'll see what I can do

    • @jcon2060
      @jcon2060 8 лет назад +2

      Bash is coming to windows... why need powershell?

    • @jakerieger5207
      @jakerieger5207 8 лет назад +2

      Bash is already on windows if you're part of the insider program. It's awesome.

    • @jcon2060
      @jcon2060 8 лет назад

      Jake Rieger Hey! Is the bash like it is on true Bsd and Unix and linux? Is there any support for external shell liks zsh? I develop mainly on Linux and server side soo...

    • @monday6740
      @monday6740 6 лет назад

      That would be the best feature on Windows, for the last decades. Actually, there's many Windows ports of Bash-stuff (like Cygwin and such), but nothing beats Bash. Certainly not Powershell ...

  • @maximilianstucke1992
    @maximilianstucke1992 5 лет назад +1

    Is anybody else bothered by the way he spells 'greater then' ? 😂 Seriously: Great tutorial! Always wanted to get better at shell scripting, thanks for the work!

    • @chuckitaway466
      @chuckitaway466 4 года назад

      I am bothered by erb herb and sodder solder only...I know he didn't say either but I just have to tell someone

  • @logomoniclearning6680
    @logomoniclearning6680 5 лет назад

    Straight to the point just how I like it

  • @y4ip841
    @y4ip841 7 лет назад

    This video is really helpful, thanks for making it. Covered all the things in 1 video!!

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) I'm glad it helped

  • @parasherghimire6459
    @parasherghimire6459 7 лет назад

    You are a life saver Derek.

    • @derekbanas
      @derekbanas  7 лет назад

      Thank you :) I'm happy I can be of help

  • @Gracken420
    @Gracken420 7 лет назад

    Ah yes, a vim tutorial, just what I wanted to see when opening a video on shell scripting.

  • @sureshrajput5794
    @sureshrajput5794 6 лет назад +1

    Hi Derek I love the way you cover any language in one hour session. This is the best tutorial on shell script available so for. Thank you :)

    • @derekbanas
      @derekbanas  6 лет назад

      Thank you for the nice compliment :)

  • @emilevanderhoven5384
    @emilevanderhoven5384 4 года назад

    Would genuinely love to know the difference between :
    sh example.sh
    ./ example
    bash example.sh
    I thought they were all the same thing but some of the stuff mentioned in the video doesn't work when using 'sh example.sh'.
    Thanks for the video! I enjoyed it.

    • @codebitcookie8053
      @codebitcookie8053 4 года назад +2

      bash is "born again shell" which is slow and very famous, the shebang (which is the first line looking like:)
      #!/bin/bash
      tells the script to use bash, and if you type in
      #!/bin/sh
      as the shebang, it will use whatever comes out when you type:
      ls -l /bin/bash
      if you are on debian or some other distro, you might get an arrow pointing to "dash" instead of "bash". dash is called a POSIX compliant shell which has some minimal differences in syntax and is much faster to bash.
      To understand the differences look at this video:
      ruclips.net/video/UnbmwxYi18I/видео.html
      If you have any questions, feel free to ask!

  • @__-cd9ug
    @__-cd9ug 7 лет назад +1

    I've been braindead for so long, I can't even follow your great tutorial

  • @beofonemind
    @beofonemind 7 лет назад

    hey derek, I just wanted to give a suggestion. I like how you put examples sequentially and you cover most basic use cases..... Each time you clear a screen, can you take a snapshot of the terminal before the screen clears and provide those as slides? if you could pull it off without adding to your workflow too much except maybe a single alias command that clears your screen and takes snapshot just before. thanks for the great videos.

    • @derekbanas
      @derekbanas  7 лет назад

      Thanks for the suggestion. I'll see if I can implement something similar in the future :)

  • @zen5878
    @zen5878 8 лет назад

    Perfect timing for this awesome video! Thanks Derek!

  • @MichalKoziatek
    @MichalKoziatek 4 года назад

    23:25 It's easy to mix up 'then' and 'than'. Those echoes should use the latter

  • @fruitfcker5351
    @fruitfcker5351 7 лет назад

    When you said "sh-bang" I immediately thought you were referring to Ricky Martin's song. Then I realized I'll get flack for knowing Ricky Martin.

    • @derekbanas
      @derekbanas  7 лет назад

      +Fruit F*cker I say all sorts of weird things and I totally remember Ricky Martin 😄

  • @draakisback
    @draakisback 8 лет назад

    hahaha vim, I'm an emacs evil mode man. best of both worlds.
    Great tutorial btw. Bash is a very important tool for any programmer.

    • @derekbanas
      @derekbanas  8 лет назад +1

      Thank you :) For some strange reason I've stuck with Vim?

  • @garikapati999
    @garikapati999 5 лет назад

    very well covered in one hour.

  • @ArtyDrop
    @ArtyDrop 6 лет назад

    Nice video and really helpful. You dont waste time, thank you

  • @jessiepinkman4974
    @jessiepinkman4974 8 лет назад

    Hi I have a question and I really appreciate this video! I want to know the rule about when and how many () I should use.I'm really new to this and sorry if this is too basic.

    • @derekbanas
      @derekbanas  8 лет назад

      Thank you :) I'm not sure what you mean by the question. Can you give me an example of what confuses you?

  • @sayakutube
    @sayakutube 7 лет назад

    You Blink, You Miss! I loved it, it was fun... :D Great Work.

  • @dayvid9908
    @dayvid9908 6 лет назад

    Great video!
    Just so you know, at 53:24 you forget to put the "!" before "fav_nums" (i.e. ${!fav_nums[@]}) in order to print the indices.