Become a shell wizard in ~12 mins

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

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

  • @scrapp706
    @scrapp706 10 месяцев назад +498

    Underrated, it's just amazing how serene and concise this video is

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад +12

      Hey, thanks!

    • @skyhappy
      @skyhappy 10 месяцев назад +8

      Just taught me more than a $1000 uni course I took which was supposed to be about linux. It had a week or two about cli commands but was poorly taught. Uni of Toronto btw

  • @suborno9249
    @suborno9249 9 месяцев назад +142

    At college, I was forced to learn about shell scripting, but after using Linux for more than half a year, I am enjoying every bit of it.
    I am still learning about shell scripting.

    • @shawnmendrek3544
      @shawnmendrek3544 6 месяцев назад +2

      They are similar as you know.

    • @Kokurorokuko
      @Kokurorokuko 6 месяцев назад

      ​@@shawnmendrek3544what is similar?

  • @StiekemeHenk
    @StiekemeHenk 9 месяцев назад +261

    ASMR: shell commands to fall asleep to

  • @sleepybraincells
    @sleepybraincells 8 месяцев назад +88

    0:28 shell/terminal/console/command line terminology
    0:47 ls (list)
    1:19 cd (current directory)
    1:22 pwd (path to working directory)
    1:26 echo
    1:30 cat (concatenate)
    1:33 touch
    1:41 cp (copy)
    1:47 mv (move)
    1:51 convention
    2:02 rm (remove)
    2:24 ln (link)
    2:35 less
    2:50 more
    2:56 man (manual)
    3:27 grep (global regular expression print) (find strings)
    3:36 find (find files/dir)
    3:47 sed (stream editor) (find and replace text)
    4:25 awk (extract text data)
    4:43 sort
    4:55 head, tail
    5:12 piping, pipe operator < | >
    5:46 xargs (split input into chunks and pass as arguments)
    6:07 running subshells < $( ) >
    6:32 redirection < > >
    6:47 appending < >> >
    6:54 file content into stdin < < >
    7:04 fzf (fuzzy finder)
    7:24 compgen - c (lists all cmds)
    7:31 Lots of useful command combinations
    11:55 key takeaways

  • @t00nfish
    @t00nfish 10 месяцев назад +215

    I listen to this every evening to fall asleep in peace

    • @YarPirates-vy7iv
      @YarPirates-vy7iv 10 месяцев назад +3

      It's very soothing!

    • @SonicJ2
      @SonicJ2 10 месяцев назад +1

      This is sooo smart thank you for the idea 🎉

    • @claudiamanta1943
      @claudiamanta1943 8 месяцев назад +1

      Oh. So you’re saying this is not a chapter from an audiobook? 😕

    • @YarPirates-vy7iv
      @YarPirates-vy7iv 8 месяцев назад +3

      @@claudiamanta1943 It's from Harry Potter and the Command Line of Doom

  • @kmk20219
    @kmk20219 10 месяцев назад +216

    first time I see someone make working with CLI look aesthetic and easy. Beautiful video

  • @BobbyMully
    @BobbyMully 10 месяцев назад +27

    Goes from newbie to advanced real quick! I use the terminal a lot as a software engineer, but this taught me a couple things and I feel like I understand some things better.

    • @liamkearn
      @liamkearn 7 месяцев назад

      This is all pretty basic stuff for most *nix natives, presented excellently though!

  • @slayerxyz0
    @slayerxyz0 10 месяцев назад +76

    Worth mentioning Ctrl-R as well for hotkeys. That fzf man alias is really cool

    • @plasticflower
      @plasticflower 4 месяца назад

      For me it searches through the command history using fzf. But what happens if you don’t have fzf installed?

    • @SAMUEL-yr3vv
      @SAMUEL-yr3vv 3 месяца назад

      @@plasticflower the shell built in reverse search.

  • @redflameken
    @redflameken 3 месяца назад +3

    I came here thinking I'm not a good enough wizard yet, but turns out most of these spells are already in my book. Learned some really wicked spells from this video!

  • @Snowdennnn01
    @Snowdennnn01 10 месяцев назад +25

    probably the best video on overview of shell commands that ive seen so far

  • @Calslock
    @Calslock 8 месяцев назад +2

    fzf is really cool, gonna use it way more often from now on
    The only thing that I wish you'd also mention is how you can manipulate history too. Let's say you've done cat on some file with long path, and now you want to copy it. Instead of cp . you can do cp !!:1 . which will use first argument from latest command in history as argument.
    Also, cd (just cd, with no arguments) will send you to home directory and cd - will send you to previous directory.

  • @chyldstudios
    @chyldstudios 10 месяцев назад +43

    Well that escalated quickly.

    • @ryancrosby3043
      @ryancrosby3043 7 месяцев назад +3

      Who gave you privilege to crack that joke?

    • @froggotheboi
      @froggotheboi Месяц назад +2

      ​@ryancrosby3043 this was a super user friendly joke

  • @danydanger
    @danydanger 10 месяцев назад +6

    One of the finest videos ever made for the shell enthusiast, kudos to u man, eagarly awaiting for more !!!!!

  • @BenjaminGrec
    @BenjaminGrec 8 месяцев назад +4

    Awesome and comprehensive video showing off the true capabilities of a good shell user. I realize literally everything people see, is a text doc

  • @mathiasbauer7837
    @mathiasbauer7837 3 месяца назад

    currently taking a Linux class in college and this is was very helpful. I am already familiar with some the commands you showed but the short cuts and pipelines you showed were super valuable in making things easier!

  • @quelaa3232
    @quelaa3232 3 месяца назад

    I cannot express enough how much I needed this video. I just started a Systems class and my profs teaching style does not mesh well with my brain. THIS THOUGH!???! There is hope - thank you so much ❤

  • @mechwarrior83
    @mechwarrior83 10 месяцев назад +17

    Low sub channel + quality content like this = instant subscribe

  • @Torqu3e
    @Torqu3e 10 месяцев назад +5

    Impressed that you introduced me to a couple of commands I was not aware of and I pride myself in writing one liners that wrap 3 lines. Specifically `compgen` and `fd`. The latter of course written by the same fellow who's created `bat` which is wonderful replacement for `cat`.
    Another interesting way to use `xargs` is by inserting the output in a specific location in a command. e.g.
    $ aws ecs list-clusters | rg blah | cut -d / -f 2 | tr -d '",' | xargs -n1 -I{} aws ecs describe-services --services {} --cluster {}
    One I use fairly often while writing a long command where I need to switch to looking something else up is prepending the command with a `#` and hitting return, it parks the command as a comment which you can go back to editing but doesn't execute anything when initially entered.
    Try this in a chromium based browser with a ton of tabs open... `cmd + shift + a`... start typing the title of what you are looking for ;)

    • @alicewyan
      @alicewyan 10 месяцев назад +1

      didn't know you could do that with xargs, very cool!

  • @cobraflunkie
    @cobraflunkie 10 месяцев назад +1

    I never thought the shell could be relaxing but you have done it. Good work.

  • @miigon9117
    @miigon9117 10 месяцев назад +3

    The Ctrl-X Ctrl-E to edit command in $EDITOR is actually very very useful! Thanks for telling us that!

  • @Rikaisan
    @Rikaisan 7 месяцев назад

    The xargs command section was really good!
    Something as simple as aliasing 'logs' to open a fzf with all your docker containers and choose one to check the logs for is just so useful

  • @thewadegreen
    @thewadegreen 10 месяцев назад

    This is such a high quality video! It starts off great with some introductory concepts, but then accelerates at a great pace and shows how to put things together. Really was great for someone like myself who is comfortable in the shell but looking to level up. C-x C-e was literally a paradigm shift for me, and has changed how I interact with the terminal. Thanks for the awesome video, looking forward to more great content!

  • @AzinFiro
    @AzinFiro 9 месяцев назад +4

    After watching this, it feels like you can do anything with the shell. Then you find yourself needing something like "pipe into a text file, but prepend instead of append", and it turns out you need to use four commands, invoke a function, write a formal proposal, and make a pilgrimage to Dennis Ritchie's final resting place on a moonless night and chant incantations from dusk to dawn to do it.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  9 месяцев назад +2

      Haha yeah that is the sad truth. When you're within the bounds of what the shell and coreutils are good at everything is nice and simple. But once you step outside of that, it quickly feels impossibly complex.

    • @mage3690
      @mage3690 6 месяцев назад

      I don't understand how this is difficult TBH.

  • @ArnabGhosh-wi7pv
    @ArnabGhosh-wi7pv 7 месяцев назад

    really useful video. I am using bash for a few years now, and only recently i am starting to realize how powerful the pipe command is

  • @imjusthereforlolz
    @imjusthereforlolz 4 месяца назад

    Great video and the slow, calming BG music is a very nice touch.

  • @deepkirdat5724
    @deepkirdat5724 10 месяцев назад

    Awesome video. Loved it. One of my favourite is 'seq'. Prints out a sequence of numbers. Handy and fast. Also one dirty trick to go to your home directory is only typing 'cd' and hitting enter. No need add ~.

  • @demidevil666
    @demidevil666 10 месяцев назад +1

    Thank you so much for bringing fzf to my attention! Just the type of tool I've always wanted but never knew existed.

  • @HopeUnveiled
    @HopeUnveiled 10 месяцев назад +37

    I just become death destroyer of the terminal world!!

  • @alecsandroo7
    @alecsandroo7 10 месяцев назад +1

    Great video ! Btw in your node_module cleanup command you could put 2 inside the bracket of your cat command to get only the second part of the entry and not trying to cat the size of the folder like such:
    fd 'node_modules' -HIt d | xargs du -sh | sort -hr | fzf -m --header "Select which ones to delete" --preview 'cat $(dirname {2})/package.json' | awk '{print $2}' | xargs -r rm -rf

  • @cognishn
    @cognishn 7 месяцев назад

    Voice + command techniques + explanations are superb.❤

  • @Hersatz
    @Hersatz 10 месяцев назад +1

    Explained more and better in 12 minutes than our teachers in a whole semester.

  • @Miguelocod
    @Miguelocod 6 месяцев назад

    The fzf based commands are incredible. I use fzf every day but never thought of that. Gonna start making some alias tomorrow! Thanks!

  • @KerboOnYT
    @KerboOnYT 9 месяцев назад

    Nice video. I've been using Linux for 30 years and learned some new commands, such as fzf. One thing I would add is the tac command. It's cat but in reverse, which is sometimes handy

  • @DeathSugar
    @DeathSugar 10 месяцев назад +7

    man works mostly only for coreutils, but not things like ripgrep, fd, fzf, jq etc, coz they don't usually provide it. So if you don't wanna google and your use case is trivial you could install tldr so it would provide some quick use examples.
    some OSes are POSIX compatible, but their commands could have different set of argument options. Same idea with subshell syntax, as well as advanced redirections.
    Also, if you forgot how to zip or unzip things using tar you can use mnemonic called "german voice"
    Compress Ze File -> tar -czf
    eXtract Ze File -> tar -xzf

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад +4

      Amazing, I had never heard of the german voice mnemonic, but that is perfect.

    • @DeathSugar
      @DeathSugar 10 месяцев назад

      @@CODE_IS_EVERYTHING seen it on Tweet shot back in a day, remember it since

    • @hypnogri5457
      @hypnogri5457 10 месяцев назад

      Why shouldn't man work for ripgrep, fd, fzf, etc? All those examples you listed work with man for me. "man rg", "man fzf", "man fd", "man jq"

    • @DeathSugar
      @DeathSugar 10 месяцев назад +1

      @@hypnogri5457 because man uses specially formated text files located at certain places (man man can clarify the detes). When you install it from apt, aur, pacman or whatever else they usually do not provide those text files, so your only documentation located in under --help argument. So if it's works for you then someone made them for your OS distro.

    • @hypnogri5457
      @hypnogri5457 10 месяцев назад

      @@DeathSugar thank you

  • @NopeNoData
    @NopeNoData 9 месяцев назад

    I like the calming background music. Kept me from uncontrollably breaking down and taking pepto again

  • @NotableLawl
    @NotableLawl 6 месяцев назад

    Glad this showed up in my feed. Perfect for my needs at work. Thank you for the video.

  • @jhtaljaard
    @jhtaljaard 7 месяцев назад +1

    Very useful video 🎉
    For some reason I didn't know about `Ctrl+X` + `Ctrl+E` to edit a multi-line cmd -- that is so cool and definitely needed :D

  • @JavierHarford
    @JavierHarford 10 месяцев назад +14

    Bat instead of less works amazing too (great colour output)

    • @m4rt_
      @m4rt_ 10 месяцев назад

      another good one is moar

    • @inertia_dagger
      @inertia_dagger 10 месяцев назад +5

      bat, eza, fd, ripgrep, dust are all great

    • @JavierHarford
      @JavierHarford 10 месяцев назад

      @wetfloo a man of culture 🏆

  • @willd0g
    @willd0g 7 месяцев назад

    Have been looking for this exact type of vid now for sometime now. Thank you it was done very well. The final wrap up at the end was perfect.

  • @Zeutomehr
    @Zeutomehr 10 месяцев назад +1

    at about 10:30:
    those are the emacs-like hotkeys for bash. dunno whether you can do that with zsh, but in bash you can change your mode to vi to get vi-like line editing

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад

      Can’t believe I’ve been using all these for years and never picked up on that! Feels bad haha. It looks like the set -o vi works in zsh too.
      Thanks for the tip!

    • @samuelwaller4924
      @samuelwaller4924 10 месяцев назад

      ​@@CODE_IS_EVERYTHINGthere's a plugin for even better vi emulation too

  • @CurrentElectrical
    @CurrentElectrical 4 месяца назад

    This would be awesome as a downloadable PDF cheat sheet. ;) Excellent content on your page, easy to follow along and no annoying loud songs to distract. Sub'd. Hello from Canada!

  • @AppsTricksByNazakatUmrani
    @AppsTricksByNazakatUmrani 6 месяцев назад

    When you started the video, it seemed like I am watching some noob tutorial, but in the last I became noob, 😂 you earned a subscriber, the knowledge you shared here is awesome, I will surely watch your bash scripting videos and other interesting linux related videos

  • @Rundik
    @Rundik 9 месяцев назад +19

    linux shadow wizard money gang

  • @sevos
    @sevos 10 месяцев назад +12

    Great fzf examples, thank you so much!

  • @uooooooooh
    @uooooooooh 8 месяцев назад

    Yeah, the biggest tip is to not try to remember everything. You naturally memorize things you use frequently, and for everything else, that's what documentation is for.
    On that note, / and ? are very important keybinds for many text viewers, as they let you search forwards and backwards. Very useful for finding relevant parts of manuals.

  • @wazuma
    @wazuma 10 месяцев назад +1

    You...., wizard...., has a new worshipper. Me is, from now on, following your magic.

  • @dameonb4586
    @dameonb4586 10 месяцев назад +2

    Most useful $SHELL video EVER!
    I learned so much.

  • @PatrickBrentlinger
    @PatrickBrentlinger 10 месяцев назад +4

    Perfect content, helpful and calm, thanks. Seeing how someone uses tools is so helpful as I learn to use them.

  • @petersansgaming8783
    @petersansgaming8783 9 месяцев назад

    Damn, I thought the video might be too basic for me but I have never seen fzf being used like that. Love it.

  • @NostraDavid2
    @NostraDavid2 10 месяцев назад

    The dash can sometimes be used to use the previous value/location.
    "cd -" lets you go back to where you were. Nice if you cd into some root folder and want to go to where you were.
    Same goes for "git checkout -"; if you are in your branch, checkout to master to git pull, but want to return to the branch you were just in.

  • @Naruto_Uzumaki_
    @Naruto_Uzumaki_ 2 месяца назад

    i feel so calm T~T like this stuff was stressing me out and now I feel sm better about it

  • @Redyf
    @Redyf 7 месяцев назад

    Wow, I thought I knew stuff in the terminal until watching this video xD. Thank you so much for sharing your knowledge with us, I'll make sure to implement this tips in my workflow

  • @rodricbr
    @rodricbr 10 месяцев назад

    I've been messing around with shell for almost 4 years now, I really love the power and flexibility of it, it's really powerful

  • @yashbijlani6652
    @yashbijlani6652 10 месяцев назад

    Thanks for the useful info! It was awesome seeing the count of monte cristo being used for some examples, its my favourite book.

  • @dregded
    @dregded 10 месяцев назад

    I honestly clicked on this video thinking it was going to be a video essay about Shell Wizards from the Harry Potter Universe

  • @SuperMutantSomething
    @SuperMutantSomething 10 месяцев назад +2

    Been working in cli server for 2, years and I knew every command. I'd like to add 'history | grep "whatever"' for when you'd reuse some complex commands.

  • @peppidesu
    @peppidesu 10 месяцев назад +9

    usually, rm -rf / will not run bc / is considered a device (because rootfs is mounted there), which cannot be deleted.
    rm -rf /* would still remove all system files, although you need sudo permissions to delete most of those, and some systems have safety nets for this specific use of rm.

    • @HaukeLaging
      @HaukeLaging Месяц назад

      "rm -rf /" will indeed not do anything but that is not related to it being misinterpreted as a device. It just refuses do execute this special case without being told to do so. It will happily delete everything below other mount points (some of which are usually the content of a device in the same was as the root filesystem).

  • @DevSrijit
    @DevSrijit 10 месяцев назад

    I just found this channel! Its amazing ! I loved tue video, awesome production quality. I hope it reaches the targeted audience.

  • @JetJockey87
    @JetJockey87 10 месяцев назад

    I know I've used tail before when I needed to iter over a very large dir with an unknown amount of empty folders which would break another workflow.
    Amazing how fast it ran, just recursing through each level and nuking every empty dir it came across

  • @petrisss2047
    @petrisss2047 10 месяцев назад

    Great information and nice background noice. Helps you concentrate. Thanks for this. I hope you do many more videos on Linux!

  • @thenefariousnerd7910
    @thenefariousnerd7910 10 месяцев назад

    Never knew about the -f option for tail. Got a feeling I'll be using that quite a bit now!

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад

      Excellent, it definitely comes in handy, especially when you’re doing server admin type stuff

  • @SonicJ2
    @SonicJ2 10 месяцев назад

    Your channel is beautiful Bro. It’s just beautiful.

  • @kashnomo
    @kashnomo 7 месяцев назад

    11:02 The hotkey cheatsheet says ctrl-k “exits shell.” I believe this is intended to be ctrl-d which sends an EOF character. This will end any keyboard facing stdin. Am I missing something?
    I love this video. I’m pretty well seasoned with shell, but familiarity can get in the way of learning new tricks! Thank you for doing this.

  • @driden1987
    @driden1987 10 месяцев назад

    My line editing became a lot less painful once I figured out I could use the emacs bindings on it. Also, I didn’t know about c-x,c-e which in retrospect makes a lot of sense.
    Thanks for teaching me something

  • @Fonzie2909
    @Fonzie2909 10 месяцев назад +1

    Nice, really liked the concise explanations for the basic commands

  • @I_Am_McZee
    @I_Am_McZee 8 месяцев назад

    Great video PLUS.The music is very relaxing.

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

    I'm stoned af atm and this thumbnail about killed me because I couldn't breathe from laughing

  • @OneManCanStopTheMotorOfWorld
    @OneManCanStopTheMotorOfWorld 10 месяцев назад

    excellent content and delivery. this was incredibly executed. Subbed

  • @Parker8752
    @Parker8752 9 месяцев назад

    Haven't used bash in ages. A lot of the keyboard shortcuts are shared with emacs, since they're both part of the gnu project.

  • @SirBearingtonSupporter
    @SirBearingtonSupporter 10 месяцев назад +1

    I’m going to do my best to regularly forget to use fzf but also that last command with the open the editor was gold!
    But now I need to find the conf file to select the correct editor.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад

      Haha I'm glad to hear it. The open the editor should default to using whatever you have set in your $EDITOR env var. So if you want to set that to nvim (or whatever you want) you can do:
      export EDITOR=nvim
      If you're using zsh, you can put it in the ~/.zshrc, if bash, it would be your ~/.bashrc -- if you're using something else, it'll probably be in a similar spot.

  • @JamesSmith-ix5jd
    @JamesSmith-ix5jd 10 месяцев назад

    Shell - a program which sits between you and the kernel, needed to only pass legitimate, authorized commands to the kernel or other apps.
    Terminal Emulator - a program which emulates a vt100 terminal and escape codes.
    Terminal - previously a screen with a keyboard without any cpu or serious computational power, the device sent escape codes to the mainframe to administer it or just to work on the computer in general. Terminals were wiresly connected to the mainframe (usually in the same building).
    Console - a terminal (of 1970's) physically attached to the mainframe, other than physical attachment it's the same terminal.
    Today 'console' is often used in games, when you bring the terminal on half the screen, because it reminiscent of the old terminal attachment to the mainframe, so is a terminal attached to the game.

  • @LukasSmith827
    @LukasSmith827 10 месяцев назад

    thank you so much! I've drastically changed my config.fish because of this video

  • @Tertia_Optio
    @Tertia_Optio Месяц назад

    I'm saving this and starting at "what is a-shell and what is it used for." Thanks!

  • @Markadown
    @Markadown 8 месяцев назад

    Holy crap. I learned some cool new tricks. Thank you. I was really skeptical at first.

  • @stokedfool
    @stokedfool 10 месяцев назад +4

    Potential slip up at 10:35 when you say "Ctrl+D to exit the shell"

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад +5

      Shoot, you're right. Ctrl+D is correct, I scuffed the visual hotkey list. Darn, it doesn't look like there is a way to add an overlay in the YT video editor.

  • @dawnrazor
    @dawnrazor 10 месяцев назад

    This is great, I’ve been using unix shell scripting a while but not wholeheartedly so haven’t really learnt it properly because i have extensive knowledge of powershell, even to the extent that install powershell on Mac and use it. But I realise that all the funky and fancy stuff in ps, I can do in way less code and probably more so just using the unix approach. Fzf is just fantastic and so is this video, you have given me inspiration to go head first into unix shell scripting so thanks 💪

  • @ematherev
    @ematherev 8 месяцев назад

    I don't usually comment but this deserves it! Amazing video 🙌

  • @demolazer
    @demolazer 9 месяцев назад +1

    FZF is the tool I didn't know I needed.

  • @sawhill-x3e
    @sawhill-x3e 10 месяцев назад +2

    I always wanted make a video like this
    Thanks for making it ( i can now peacfully sleep knowing that there exist a sensible video about shells and i dont have to procastinate about making one)
    Even tho i know all the stuff (except fzf preview one) i still enjoyed the video

  • @avi7278
    @avi7278 10 месяцев назад

    Great format, pleasing voice

  • @samuelwaller4924
    @samuelwaller4924 10 месяцев назад +15

    if you think awk is confusing, you just haven't taken the time to learn it. It is an incredibly simple language that looks a lot like javascript. Literally just like like 15 minutes to read the documentation for gawk (in a browser, its just easier) and you will never be confused again

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад +1

      That is a fair assessment 😅 I’ll have to give it a read

    • @samuelwaller4924
      @samuelwaller4924 10 месяцев назад +1

      @@CODE_IS_EVERYTHING lol thanks for being nice about it, I was a little rude. Great video!

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад +1

      No worries, I didn’t take it that way. I appreciate the heads up. I use it often enough there is really no good reason to not spend a few minutes to actually learn it haha

    • @Snollygoster-
      @Snollygoster- 10 месяцев назад +4

      To be fair, it's not that awk is that confusing. It's more like when you're initially learning all this stuff as shell utilities and then BAM out comes a fucking scripting language. One of these things is not like the other.

    • @samuelwaller4924
      @samuelwaller4924 10 месяцев назад

      @@Snollygoster- yeah that is pretty accurate lol

  • @oblivion_2852
    @oblivion_2852 7 месяцев назад

    Some more modern tools which are great are jq, yq, xq. Which are a family of tools for json query, yaml query and xml query.

  • @matthewstott3493
    @matthewstott3493 10 месяцев назад

    FYI - On fish shell press Alt+e instead of Ctrl-x Ctrl-e. Requires that you set the $EDITOR environment variable, You do that with set -gx EDITOR nano or whatever editor you wish to use. Put the set command string into your ~/.config/fish/fish.config file. The other keybinding is Alt-v which triggers the contents of $VISUAL instead of $EDITOR.

  • @yash1152
    @yash1152 9 месяцев назад

    2:53 > _"more: only going fwd"_
    niice, i didnt know that

    • @yash1152
      @yash1152 9 месяцев назад

      3:32 repgrep

    • @yash1152
      @yash1152 9 месяцев назад

      5:04 tail -f to follow appensions
      niice, 'tell u what; this vid is coming nice so far. not getting hung up in minute details but covering onteresting things which someone might be missing.

    • @yash1152
      @yash1152 9 месяцев назад

      5:50 xargs

    • @yash1152
      @yash1152 9 месяцев назад

      ls | xargs du -sh
      (disk usage summary human-readable)
      niiiice. (show size of argument, each file received as separate argument)

    • @yash1152
      @yash1152 9 месяцев назад

      7:24 compgen to generate list of commands

  • @sammy709
    @sammy709 10 месяцев назад

    Have been using linux for a few things for like 5 years, and just only now realized man stands for manual

  • @richizzz1
    @richizzz1 10 месяцев назад

    this is absolutely a gem :) thank you for the video and learning us nice stuff, you just got a new subscriber

  • @MrVampify
    @MrVampify 7 месяцев назад

    I am a self proclaimed shell wizard and learning sed can use any delimiter has blown my mind

  • @TyrannosaurusSnacks
    @TyrannosaurusSnacks 3 месяца назад

    I enjoyed this video. Pacing is nice.

  • @DWJT_Music
    @DWJT_Music 10 месяцев назад

    Nice video! Well done explaining more than I thought I knew, so now I know more than I once did-eo..
    P.S Best Frame | 5:48

  • @roomma_kolesnikoow
    @roomma_kolesnikoow 10 месяцев назад +1

    shell wizard money gang we love casting shells

  • @JavierHarford
    @JavierHarford 10 месяцев назад +1

    Sed also has sd (from cargo package manager)

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад

      Ah sweet, I knew about bat, but I hadn't heard of sd. Thanks for the heads up!
      It looks quite nice (github.com/chmln/sd)

  • @NotableLawl
    @NotableLawl 6 месяцев назад

    Oh, a useful cmd for kube pods is describe pods. Great for troubleshooting a pod in an error state.

  • @gabereiser
    @gabereiser 10 месяцев назад

    That fzf is amazing.

  • @pauloseixas5452
    @pauloseixas5452 10 месяцев назад

    Thank you very much because I'm a noob in programming i barely use my linux mostly because I'm still struggling with learning my first programming language so I'll put all the tips into a written note on paper so when there's a need to use i can start using by accessing my external hard drive called paper while leaving my internal hard drive still struggling with learning programing

  • @terryriley6410
    @terryriley6410 10 месяцев назад

    while it's cool to compose commands, for cleaning up files for space you really want to use a dedicated program, my current favorite in the terminal is diskonaut (but ncdu is nice as well and usually more available as a package).
    Both will crawl the entire tree from where you launch them and let you explore files interactively with visual aid for you to spot blocks of large files, they will also let you delete files along the way.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 месяцев назад

      That is a good point. I’m familiar with ncdu, but diskonaut looks legit, thanks for the suggestion!

  • @drygordspellweaver8761
    @drygordspellweaver8761 10 месяцев назад

    No one seems to cover export. I have exported local variables and they don’t seem to be applying toward a makefile. Says I have the wrong Python config version ...

  • @felicityc
    @felicityc 10 месяцев назад +1

    other tutorials be like: "ok, now go to your root folder and then hack into the matrix mainframe so we can get started installing arch"

  • @raeplaysval
    @raeplaysval 10 месяцев назад +1

    nice video 👏👏
    ((are you using the syne font? it’s my favorite! 0:26

  • @demiurge_xo
    @demiurge_xo 10 месяцев назад +1

    I just know bro is gonna get a hit with the algo at some point and up in niche tech recommends

  • @bolivianPsyOp
    @bolivianPsyOp 10 месяцев назад +1

    Ctrl x + ctrl e just changed my life