BASH Environment | Aliases, Functions and Scripts

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 106

  • @zentrans
    @zentrans 2 місяці тому

    Gold standard of tutorials

  • @tpatutorials3
    @tpatutorials3 2 роки тому +8

    yo! please make more bash tutorials or other tutorials. You're a great teacher and don't go too fast like others. I just learned python but you are responsible for teaching me bash and I greatly appreciate it. Thank you, Joe.

  • @rwpage89
    @rwpage89 4 роки тому +2

    I know this is an old video, but Joe I gotta tell you man -- I have learned more from your Linux/bash videos than I learned at 5 years in college. I have a degree in Computer Science and almost never had to touch a terminal. Now that I'm in the cyber security world, Linux is an expected skillset. I knew enough to at least be competent to get the job but not enough to be effective. Your videos really have helped me, thank you for taking the time to make these videos. You have no idea how helpful they are.

    • @EzeeLinux
      @EzeeLinux  4 роки тому +2

      Thanks for the kind words. :)

  • @mikediaz9033
    @mikediaz9033 2 роки тому

    May You Be My Mentor.
    Strong word with Strength in its meaning.
    To be given the kindness to listen and learn, is what child learning is all about.
    Thankyou My Friend Kindly.

  • @RandyBlankenshipvapingcisco
    @RandyBlankenshipvapingcisco 6 років тому +6

    Great video Joe, just hope this old man can remember it all!

  • @shreyadas5065
    @shreyadas5065 Рік тому +1

    Thank you for the video! I do not know if someone already mentioned in in the comments yet. But I would like to mention that to get out of the list of text and go back to the screen before you have to press : and q together. Someone who is really new to terminal might struggle with it!

  • @fredlewis1945
    @fredlewis1945 2 роки тому +2

    Thank's Joe I am brand new to Linux, I was just about ready to quit, when I watched one of your videos. Now I am excited to learn. It is nice to know that Linux is not as complicated as it seemed to be at first. Thank's again.

  • @MarkFreedmanNY
    @MarkFreedmanNY 4 роки тому +3

    Thanks, Joe. I learned a lot! Been in the field for decades, but just recently been enjoying the joys of bash and shells, in general. I look forward to watching your other videos!

  • @AssWhole-u6d
    @AssWhole-u6d 6 років тому +1

    YES!!! I can never get enough terminal vids! Thank you.

  • @fernabianer1898
    @fernabianer1898 6 років тому

    I'd given it a thumps up after 30 seconds. you've earned my trust on terminal videos

  • @davidarf
    @davidarf 6 років тому +2

    Brilliant - a most helpful presentation even for someone like me who is very new to the Linux environment. I already have a use for one of the ideas that you explained.

  • @spiewak70
    @spiewak70 4 роки тому +2

    You're Videos are Awesome! man, you explain things so well and answer questions before I get a chance to ask them myself..Keep up the good work, and please keep making videos.

  • @ericechemane3335
    @ericechemane3335 3 роки тому +2

    Hopefully the creator of this video is in good health. You helped me a lot Sir! Thank You

  • @currythompson4747
    @currythompson4747 2 роки тому

    Im still in the Gerber stage of shell scripting, but am pretty sure I'll be on solid food b4 too long if I keep watching your videos. Thanx for the great info.

  • @joeystenbeck6697
    @joeystenbeck6697 2 роки тому

    You have a great sense of humor Joe haha. Thanks for the awesome resource on all this stuff. I'm very new to this kind of thing and this is a great starting point for people who aren't super experienced like me.

  • @theotherguy6282
    @theotherguy6282 2 роки тому

    31:50 you go on about how the function 'system-status' is not covered by auto fill. but it is right there in the suggestion list (third from the left). it was not being completed because there are other commands that start with 'system-' and you had to choose which one. if you had typed 'system-s' it would have worked.

  • @tinacole1450
    @tinacole1450 2 місяці тому

    @8:18 . Oh, "nano" opens in file in text editor. @10:13, do you have another upload which explains how you built .profile file? Assuming it's what is shown here but at some point it was built by you? I have just bash sessions and bash history on my Mac

  • @SimonTelescopium
    @SimonTelescopium 4 роки тому

    learning bash/linux really helpful - great to know im not the only one who cant type!

  • @kawanuacardanopool4103
    @kawanuacardanopool4103 3 роки тому

    LOL, actualy im laughing when you just did a typo.
    Loved learning from your videos.
    Thanks Joe.

  • @NewsboyUK
    @NewsboyUK 6 років тому +1

    Excellent Joe. Many thanks once again for a good instructional video. Learned a lot.

  • @SlideRSB
    @SlideRSB 6 років тому +9

    Did he say, "I don't like vi. Ugh."
    FIGHT! 😄
    I still like you, Joe. Seriously, great video!
    31:54
    By the way, tab-competition works on functions. It was showing up in the completion list. If you typed an s and then tab, it would have worked.

    • @rilian226
      @rilian226 5 років тому +1

      VIM! VIM! VIM! VIM!....

    • @lsagar
      @lsagar 4 роки тому

      the fact that the function was showing up in the completion list and him telling it doesn’t made me really uncomfortable. if you know what i mean. 😂😂😂

  • @vkytb24
    @vkytb24 6 років тому +6

    It seems like the auto-fill actually works. see at 32:00 it showed all possible commands...

    • @EzeeLinux
      @EzeeLinux  6 років тому +2

      Yep, you're right! I didn't notice at the time. Cool to know. :)

    • @v1ncen715
      @v1ncen715 6 років тому

      You need to tab twice if what you type matches more than one command.

  • @andarvidavohits4962
    @andarvidavohits4962 3 роки тому +1

    It's not often that a command line instructional video ticks all the boxes. I've watched two of yours about Bash and I wasn't bored for a minute, despite the fact I knew the subjectmatter beforehand. Too often you get some lady's $2 microphone, echoing, crackling monotone or heavily accented Indian guy's acrobatics I can barely comprehend. Basically, good job! Also, the "Vi comment" made me cackle.

  • @theotherguy6282
    @theotherguy6282 2 роки тому

    thanks man, i really loved the video. thanks again

  • @SusanAmberBruce
    @SusanAmberBruce 6 років тому

    That was real helpful and gave me some ideas about scripts, thanks Joe

  • @BrucesWorldofStuff
    @BrucesWorldofStuff 6 років тому +2

    Thanks for the video!
    I always learn a bunch from you. Yes I took notes! I have CRS (Can't Remember S***)
    I want to echo other posts, yes more bash please!

  • @Daniel-cc5ph
    @Daniel-cc5ph 6 років тому

    Hi Joe, i am watching your great vid for bash beginners right now! I use double quotes with aliases... because when somebody throws a variable inside, it won't work your way... Go ahead! And Best regards from Wuerzburg! PS: Also point out the ABS Guide for further reading... that solves a lot of problems and is a great source.

  • @sirbenson6863
    @sirbenson6863 Рік тому

    Awesome videos! Thanks alot

  • @ziyadseykhanov3967
    @ziyadseykhanov3967 6 місяців тому

    Vim is the best !!! Great staff

  • @cosmictachyon3337
    @cosmictachyon3337 6 років тому +2

    Very useful, thanks!

  • @ex0stasis72
    @ex0stasis72 6 років тому +2

    I was seriously surprised that you said you don't like Vim. I thought you were just using Nano for the video for beginners because all your options are on screen at one time.
    I'm not going to argue for Vim, however. I've got through my phase of Vim hate, but I'm starting to come around.

  • @InsideOfMyOwnMind
    @InsideOfMyOwnMind 6 років тому +1

    THAT... was a friggin good one. Liked an odd number of times.

  • @bog9867
    @bog9867 3 роки тому

    Excellent Video

  • @nir8924
    @nir8924 6 років тому +4

    And all I can say is .. more !!!!! Thanks :)

  • @AlguienMas555
    @AlguienMas555 Рік тому

    Great tutorials

  • @bigusdickus123
    @bigusdickus123 6 років тому +14

    I was cracking up with anticipation for the big syetm-status letdown lol

    • @IR240474
      @IR240474 2 роки тому

      haha... i spotted it also, thought he spelt systm as system was being used!! had a giggle!

    • @DominicVictoria
      @DominicVictoria 2 роки тому

      He definitely had some before this.

  • @treyquattro
    @treyquattro 4 роки тому

    you can edit your own /etc/hosts file (with superuser privileges). True, it won't be reflected on every machine, and you really need to tie internal IP addresses to specific machines, but you can get around typing in IP addresses or even parts thereof. You can also run your own DNS server.

  • @EarnestRedwoodLINUXMASTER
    @EarnestRedwoodLINUXMASTER 6 років тому +1

    Hey Joe, This is so cool. Thank you.

  • @cthedosboss5113
    @cthedosboss5113 6 років тому

    great video joe iam actually working on my own script now thanks :)

  • @tomvito
    @tomvito 4 роки тому

    Awesome video! Thank you!

  • @kssaz3578
    @kssaz3578 3 роки тому

    Good video - useful tips in friendly way _ Thx

  • @sfchinesechorus
    @sfchinesechorus 4 роки тому

    after "set | less", you got out and went back to the terminal prompt, but what key did you hit to get out?

  • @UltimatePerfection
    @UltimatePerfection 3 місяці тому

    Can bash alias be a number? I was thinking of assigning numeric sequences to most used commands I could type in quickly on numpad, which would save me a lot of time.

    • @EzeeLinux
      @EzeeLinux  2 місяці тому +1

      An alias can be anything as long as it doesn't conflict with an exerting command. :)

  • @cheerjoy
    @cheerjoy 6 років тому

    Looks like it does auto-fill, judging from the output at 32:00.
    Pretty nifty.

    • @EzeeLinux
      @EzeeLinux  6 років тому

      Yep. Someone else pointed that out too. Cool to know. :)

  • @robertcrawford4009
    @robertcrawford4009 6 років тому +1

    Very good video

  • @goletest
    @goletest 6 років тому

    You are a legend, man!

  • @chrisbannister1684
    @chrisbannister1684 6 років тому

    Instead of putting nano options in an alias, would it not be better to put them in the .nanorc file?

    • @EzeeLinux
      @EzeeLinux  6 років тому +2

      There's always more than one way to do things in Linux. Whatever works best for you. Besides, I just used nano as an example. :)

  • @capiberra4118
    @capiberra4118 5 років тому

    Useful stuff. Thanks!

  • @abrundag
    @abrundag 6 років тому

    What file actually assigns the environment variables their name? I checked both the local and /etc bashrc and profile files and it wasn't there. It's gotta come from someplace.

    • @EzeeLinux
      @EzeeLinux  6 років тому

      Some of it is built into bash itself. The configuration file contain things the user can change. :)

  • @bored_god_slayer
    @bored_god_slayer 4 роки тому

    I was like nr 1000 lol xp good stuff btw! I'm new to linux but trying to always use terminal and learning bash (mainly to make "shortcuts" atm)

  • @mikediaz9033
    @mikediaz9033 2 роки тому

    Are you better than the whole world?
    Rhetorical.
    You are Kind with Compassion, you are.
    You come somewhat cynical.
    I must say you info taught to an audience, with their eyes peeled.
    Be absolutely clear, that is my method of communication.
    Ex- USA Fighter Aircraft Specialist.
    Afterwards, school for Hardware & Software.
    Experience at R&D Corp., proud to I solved complex issues on units.
    Please forgive, if I may. Be clear & humble intrinsically

  • @codezero6023
    @codezero6023 6 років тому

    You could use machine names by putting them in your etc/hosts file as name/ip pairs

    • @EzeeLinux
      @EzeeLinux  6 років тому

      Technically, yes... It's a pain, though. Using the address works fine and requires less configuration. :)

  • @nayl-gaar-singh
    @nayl-gaar-singh Рік тому

    thank you

  • @NortheastRacing
    @NortheastRacing 6 років тому +1

    Thanks!!!!

  • @jurgenblick5491
    @jurgenblick5491 5 років тому

    Thank you.

  • @JishnuWarrierA
    @JishnuWarrierA 6 років тому

    Off the topic Issue-
    Can you make a tutorial on installing Google API on a chromium browser. I managed to install the patch for Hardware Acceleration on chromium browser but, I dont know how exactly how to install the api and client into the chromium. Because of this I am forced to use chrome.

  • @benriful
    @benriful 5 років тому

    Nah! Stuff Vi ... it's EMacs all over for me ... fight!
    BTW, since you already use Midnight Commander, you already have its text editor installed as well - called mcedit. For simplistic use I actually find that easier to use than nano.

  • @hermanstrom3948
    @hermanstrom3948 5 років тому +2

    :) I hate anything but vim. So as soon as I install a new Ubuntu/Debian system, I install vim and remove nano and everything else. And I work with a bunch of UNIX/Linux old timers, who totally think the same as I do about it. :)

  • @ofnir7403
    @ofnir7403 5 місяців тому

    still actually in 2024))

  • @canto64
    @canto64 4 роки тому +2

    man if this had a timestamp

  • @abrundag
    @abrundag 6 років тому +1

    vim is like a roach motel. you can check in but you can't check out

  • @gohan3243
    @gohan3243 5 років тому

    chmod: Read=4, Write 2, Execuite 1 Read+Write+Execute= 4+2+1 =7 (RWX)

  • @gst69man
    @gst69man 6 років тому

    yo boi!

  • @abzhuofficial
    @abzhuofficial 6 років тому +4

    As a hopeless Linux noob, I say:
    Carry On BASHing!
    Errmmm, I shall leave now.

  • @hackersguild8445
    @hackersguild8445 4 роки тому

    Watch at 1.25x speed. Thank me later. ;)

  • @lsagar
    @lsagar 4 роки тому +1

    great video. but i gotta tell you, you’re not a real geek if you don’t like vim 😂😂

  • @yapayzeka
    @yapayzeka 4 роки тому +1

    10 dislike microsoft workers

  • @pedrobluis
    @pedrobluis 5 років тому +4

    Glad you fail a lot. :-P
    It's great for learning troubleshooting.

  • @bendover4728
    @bendover4728 5 років тому

    If we can skin a cat, can we skin a less or even a more? what abour a zcat? :V

  • @mikediaz9033
    @mikediaz9033 2 роки тому

    No Assumptions or Secrets.
    For Me to much deciphering

  • @isaacgonzalez2128
    @isaacgonzalez2128 Рік тому

    XD "you wrote wrong again"

  • @aegisgfx
    @aegisgfx 5 років тому

    Where I come from, we eat cats with the fur still on...

  • @mikediaz9033
    @mikediaz9033 2 роки тому

    You talk a lot. Your Ego Is tripping, because you are not defining concepts, your just tripping on your Ego, & saying nothing.
    You 're just a get over, Ego Tripping What?
    You define Nothing, you just continue to express your own knowledge.
    Social Media says what?

    • @EzeeLinux
      @EzeeLinux  2 роки тому

      Teaching requires talking. Sorry if you think it's juts an ego trip. You missed the point entirely.

  • @mikediaz9033
    @mikediaz9033 2 роки тому

    Forgive Me I I have offended thee.

  • @jackfrasiercomedy5942
    @jackfrasiercomedy5942 6 років тому

    Some of the richest guys I know,
    And many computer programmers,
    Can't spell.
    But I can!
    Really well!
    These type-os are driving me nuts! ("Alais"?!?!?!)
    But Being rich and Computer Coding apparently...
    HAVE NOTHING TO DO with good spelling.
    The secret is not about mental aptitude or acuity.
    I think it's about a tight focus on money (or coding) for their own sake.
    ("SUSTEM"?!?!??!)

    • @fernabianer1898
      @fernabianer1898 6 років тому

      Hey Troll, use your brain once in a while!
      Of course joe can spell! But he's not just spelling..
      He has to think about the commands he uses and their implications!
      those changes effect other things.
      Its simple in this video but in coding and scripting when you set an alias for e.g. a library everything inside your code that belongs to that library changes.. therefore if you re-use code you have to change all of it too. else your program wont work!.. I could go on but you'll see the point from here..
      consequently you adapt part of a new mind set, thinking about details that change with your changes and what they might effect all the time.. and you will NOT turn that off because the task at hand is simpler!
      again: he's not just typing!
      he is recording a video; all the things related to the video are in his mind as well. the script he has to follow. Its needed so the information and examples are in order and make sense to every level of viewer. and like this wouldnt be enough; he's also talking and explaining things.
      usually when you code/skript/anything its quiet or you have a little music in the background but that's it!
      if you're so good with your skills, the way bash works and multitasking make a better video!.. but don't fool yourself! it takes a LOT more than bash to become rich!

    • @jackfrasiercomedy5942
      @jackfrasiercomedy5942 6 років тому

      Take it easy, just a little jibe!
      It's actually more of a compliment to notice people spelling badly can code or become wealthy.
      A neat little inference, that's all.
      I also think it's funny that with all the syntax specificity you need to code,
      the same isn't applied to English.
      Even by rich people and coders!
      Code is very specific about syntax,
      so one might infer that the same attention to syntactic detail would make them good spellers as well.
      Besides, let's not feel too bad about the occasional internet comment video jibe.
      The guy can code.
      That means he's not doing too bad for himself.

    • @stefosters
      @stefosters 3 роки тому

      I think Joe mentioned he has dyslexia.
      People hold knowledge but just struggle expressing it. Joe's videos are amazing in depth of knowledge!
      Try and be sympathetic and grateful instead of trolling @jack fraiser comedy. Some of the jibes could be hurtful!

  • @ChozoSR388
    @ChozoSR388 2 роки тому

    '.you_got_mail.wav' Ah, a man of culture, I see.