BASH Environment | Aliases, Functions and Scripts

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • We look at your BASH Environment and show you how to work with .bashrc and create scripts.
    Check out www.ezeelinux.com for more about Linux.
  • Jak na to + styl

Komentáře • 100

  • @tpatutorials3
    @tpatutorials3 Před rokem +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.

  • @shreyadas5065
    @shreyadas5065 Před 10 měsíci +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!

  • @MarkFreedmanNY
    @MarkFreedmanNY Před 4 lety +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!

  • @RandyBlankenshipvapingcisco

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

  • @user-yf8il6we2z
    @user-yf8il6we2z Před 5 lety +1

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

  • @davidarf
    @davidarf Před 5 lety +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 Před 3 lety +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.

  • @fernabianer1898
    @fernabianer1898 Před 5 lety

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

  • @SusanAmberBruce
    @SusanAmberBruce Před 5 lety

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

  • @mikediaz9033
    @mikediaz9033 Před rokem

    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.

  • @NewsboyUK
    @NewsboyUK Před 5 lety +1

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

  • @rwpage89
    @rwpage89 Před 3 lety +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  Před 3 lety +2

      Thanks for the kind words. :)

  • @joeystenbeck6697
    @joeystenbeck6697 Před 2 lety

    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.

  • @fredlewis1945
    @fredlewis1945 Před 2 lety +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.

  • @ericechemane3335
    @ericechemane3335 Před 2 lety +2

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

  • @EarnestRedwoodLINUXMASTER

    Hey Joe, This is so cool. Thank you.

  • @BrucesWorldofStuff
    @BrucesWorldofStuff Před 5 lety +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 Před 5 lety

    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.

  • @SimonTelescopium
    @SimonTelescopium Před 3 lety

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

  • @currythompson4747
    @currythompson4747 Před rokem

    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.

  • @cthedosboss5113
    @cthedosboss5113 Před 5 lety

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

  • @kawanuacardanopool4103

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

  • @cosmictachyon3337
    @cosmictachyon3337 Před 5 lety +2

    Very useful, thanks!

  • @theotherguy6282
    @theotherguy6282 Před rokem

    thanks man, i really loved the video. thanks again

  • @nir8924
    @nir8924 Před 5 lety +4

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

  • @tomvito
    @tomvito Před 4 lety

    Awesome video! Thank you!

  • @InsideOfMyOwnMind
    @InsideOfMyOwnMind Před 5 lety +1

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

  • @sirbenson6863
    @sirbenson6863 Před 9 měsíci

    Awesome videos! Thanks alot

  • @treyquattro
    @treyquattro Před 3 lety

    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.

  • @goletest
    @goletest Před 5 lety

    You are a legend, man!

  • @andarvidavohits4962
    @andarvidavohits4962 Před 3 lety +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.

  • @bog9867
    @bog9867 Před 2 lety

    Excellent Video

  • @kssaz3578
    @kssaz3578 Před 3 lety

    Good video - useful tips in friendly way _ Thx

  • @AlguienMas555
    @AlguienMas555 Před rokem

    Great tutorials

  • @SlideRSB
    @SlideRSB Před 5 lety +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 Před 5 lety +1

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

    • @lsagar
      @lsagar Před 4 lety

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

  • @capiberra4118
    @capiberra4118 Před 4 lety

    Useful stuff. Thanks!

  • @robertcrawford4009
    @robertcrawford4009 Před 5 lety +1

    Very good video

  • @bored_god_slayer
    @bored_god_slayer Před 3 lety

    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)

  • @theotherguy6282
    @theotherguy6282 Před rokem

    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.

  • @ex0stasis72
    @ex0stasis72 Před 5 lety +1

    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.

  • @bigusdickus123
    @bigusdickus123 Před 5 lety +14

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

    • @IR240474
      @IR240474 Před rokem

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

    • @DominicVictoria
      @DominicVictoria Před rokem

      He definitely had some before this.

  • @vkltube
    @vkltube Před 5 lety +5

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

    • @EzeeLinux
      @EzeeLinux  Před 5 lety +2

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

    • @v1ncen715
      @v1ncen715 Před 5 lety

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

  • @NortheastRacing
    @NortheastRacing Před 5 lety +1

    Thanks!!!!

  • @sfchinesechorus
    @sfchinesechorus Před 3 lety

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

  • @jurgenblick5491
    @jurgenblick5491 Před 5 lety

    Thank you.

  • @abrundag
    @abrundag Před 5 lety

    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  Před 5 lety

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

  • @codezero6023
    @codezero6023 Před 5 lety

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

    • @EzeeLinux
      @EzeeLinux  Před 5 lety

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

  • @JishnuWarrierA
    @JishnuWarrierA Před 5 lety

    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 Před 5 lety

    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.

  • @cheerjoy
    @cheerjoy Před 5 lety

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

    • @EzeeLinux
      @EzeeLinux  Před 5 lety

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

  • @chrisbannister1684
    @chrisbannister1684 Před 5 lety

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

    • @EzeeLinux
      @EzeeLinux  Před 5 lety +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. :)

  • @nayl-gaar-singh
    @nayl-gaar-singh Před rokem

    thank you

  • @mikediaz9033
    @mikediaz9033 Před rokem

    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

  • @hermanstrom3948
    @hermanstrom3948 Před 5 lety +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. :)

  • @gst69man
    @gst69man Před 5 lety

    yo boi!

  • @gohan3243
    @gohan3243 Před 5 lety

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

  • @canto64
    @canto64 Před 3 lety +2

    man if this had a timestamp

  • @hackersguild8445
    @hackersguild8445 Před 4 lety

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

  • @pedrobluis
    @pedrobluis Před 5 lety +4

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

  • @abzhuofficial
    @abzhuofficial Před 5 lety +4

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

  • @abrundag
    @abrundag Před 5 lety +1

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

  • @isaacgonzalez2128
    @isaacgonzalez2128 Před rokem

    XD "you wrote wrong again"

  • @yapayzeka
    @yapayzeka Před 4 lety +1

    10 dislike microsoft workers

  • @lsagar
    @lsagar Před 4 lety +1

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

  • @aegisgfx
    @aegisgfx Před 5 lety

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

  • @bendover4728
    @bendover4728 Před 5 lety

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

  • @mikediaz9033
    @mikediaz9033 Před rokem

    No Assumptions or Secrets.
    For Me to much deciphering

  • @mikediaz9033
    @mikediaz9033 Před rokem

    Forgive Me I I have offended thee.

  • @jackfrasiercomedy5942
    @jackfrasiercomedy5942 Před 5 lety

    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 Před 5 lety

      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 Před 5 lety

      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 Před 2 lety

      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!

  • @mikediaz9033
    @mikediaz9033 Před rokem

    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  Před rokem

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

  • @ChozoSR388
    @ChozoSR388 Před rokem

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