Xargs Explained

  Рет қаралды 46,721

TomNomNom

TomNomNom

Күн бұрын

Пікірлер: 87
@scottfwalter
@scottfwalter 8 ай бұрын
This is probably the best explanation of all the different ways to use xargs.
@dhedarkhcustard
@dhedarkhcustard 9 ай бұрын
I like how you show the mistakes. It makes you seem much more human and it helps learn WHY something happens when it does. Great video.
@monh964
@monh964 10 ай бұрын
every day I realize I know nothing.. , thanks
@memories1778
@memories1778 9 ай бұрын
go marry someone
@monh964
@monh964 9 ай бұрын
@@memories1778 Irrelevant to the topic
@nickmills8476
@nickmills8476 9 ай бұрын
This is the opposite of the Dunning-Kruger effect. I think I know how you feel.
@monh964
@monh964 9 ай бұрын
@@nickmills8476 enlighten me.
@arma5166
@arma5166 9 ай бұрын
@lls8476 or maybe he's passed the peak
@james-cucumber
@james-cucumber 9 ай бұрын
This was fantastic. Actually motivating shell commands you might want to write, and guiding the viewer through the process, including when and why things don’t work is brilliant! Awesome pedagogy, you’ve earned a new sub!
@detecht
@detecht 10 ай бұрын
The quality of your content is so good. Its way better than everything else out there. Thank you, man. Seriously. You're awesome!
@docmalitt
@docmalitt 10 ай бұрын
Greetings mr. T. for us who truly enjoy your little educational cli videos, with all the regular apologies (you are busy, you are in love, you hunt bugs, you are saving the world, etc..) we can survive few more videos per annum... no need for any scripting or preps, just hit record and voila. Parfect.
@leghdaf
@leghdaf Ай бұрын
Great Demo , you make things easy to understand | Thank you so much TomNomNom... 👑
@felipedonadon7039
@felipedonadon7039 9 ай бұрын
Hey Tom, I didn't know about your YT channel here! I fell in love with Vim and Bash scripting a couple of years back, thanks to your mash-up video with Stök in a coffee shop, after a hacking conference, explaining to him a few of the tricks up in your sleeves. I'm so glad to see you uploading here again, please keep 'em coming! ( also the format of these videos is really well stiched together, no fancy editions, just pure scripting and explanations, which is quite refreshing, thanks for this! ) Regards from Brazil.
@BluesManPeich
@BluesManPeich 9 ай бұрын
This video was incredibly instructive, thanks.
@tomaszkarwik6357
@tomaszkarwik6357 9 ай бұрын
I knew there had to be a way to do that. Thank you. I've been searching for this command for months
@PHoSawyer
@PHoSawyer 10 ай бұрын
Great stuff, consise, and with enough knowledge to go on further but short enough without any guff. Top quality!
@trampoline60
@trampoline60 9 ай бұрын
This video is so useful! Concise and to the point while explaining the command with examples
@mintoo2cool
@mintoo2cool 9 ай бұрын
cant wait for the followup to this .. would love to see this as a series and cover curl, ip, netstat, iostat, sar etc etc
@UliTroyo
@UliTroyo 9 ай бұрын
I've never had to use xargs but I know it's very common, so I wondered what I was doing different. I use Nuhsell! It lets me do the following: open hostnames | lines | each { |url| host -t A $url } The 'lines' command splits text input into a list at each newline. Then I pass the 'each' command a Nushell closure where I run the 'host' command with the value form each line. And if I change the 'each' command to 'par-each', it will run each in parallel, in as many threads as I have available. Nice to know what xargs does finally, but it also makes me glad I use Nushell.
@xyangst
@xyangst 9 ай бұрын
Was wondering the same thing since i was using fish 🙃
@KevinNitro
@KevinNitro 6 ай бұрын
Please I'm looking forward to your next video of this series 💫
@MelroyvandenBerg
@MelroyvandenBerg 9 ай бұрын
Thanks! Useful for me. I didn't knew about the -P flag. And this advanced sh -c within the xargs makes a lot of sense as well. Very powerful indeed.
@Awcator
@Awcator 7 ай бұрын
Best short daily usage way of demo
@jasonfevang9670
@jasonfevang9670 9 ай бұрын
Really well done video, simple and great pacing. Please make more!
@glennhoetker2721
@glennhoetker2721 9 ай бұрын
Brilliant. Clearly explained and accessible. Thanks!
@nazneenzafar743
@nazneenzafar743 9 ай бұрын
Thanks for this awesome tutorial. I was actually having some hard time understanding xargs from its manual. I am glad i was suggested this video.
@ЕгорСоменко-я6у
@ЕгорСоменко-я6у 4 ай бұрын
I love you, this is so logical and sequent
@nathangetty4892
@nathangetty4892 10 ай бұрын
Love seeing everyone’s usecases with these commands, I’ve always used exec, but that -I flag with xargs is amazing! Nice find by me!
@gtmfarrell1381
@gtmfarrell1381 10 ай бұрын
Excellent stuff, Tom. Saw your 'find' command video, and have been waiting for your next upload since! Really enjoying this style of video. A few more of these, and you'll have one of the best, most accessible video series on getting the most out of the command line!
@adriantoledocastineira4257
@adriantoledocastineira4257 3 ай бұрын
great videos. advanced stuff delivered water-clear! subscribed!
@simon7762
@simon7762 9 ай бұрын
Wow never knew about the parallelism and bash flag for xargs, thanks tom!
@BugBountyReportsExplained
@BugBountyReportsExplained 10 ай бұрын
I was waiting! Keep it up Tom🔥
@lol-hz9mc
@lol-hz9mc 10 ай бұрын
Thank you very much for teaching Xargs this easily man!!
@Leander_
@Leander_ 9 ай бұрын
Very well presented, thanks!
@alexandrelithaud8196
@alexandrelithaud8196 9 ай бұрын
It's clean and very interesting! I want more of these !
@khocode4090
@khocode4090 9 ай бұрын
What a PEDAGOGY and it's a CypherPunk and Telecom Architect ! you've got a new SUB :)
@apemoses7231
@apemoses7231 10 ай бұрын
Great video as usual, I can't wait for whats next.
@TheJaguar1983
@TheJaguar1983 9 ай бұрын
xargs is a great tool. One of the many reasons I run WSL on my Windows machine. I tend to use XXXX with the -I argument because it shouldn't conflict with bash syntax, flags or filenames.
@endlessrock3r
@endlessrock3r 10 ай бұрын
Excellent explanation!! I was trying to learn exactly about the Xargs command a few days ago :))
@Me.n_n
@Me.n_n 10 ай бұрын
Great Tom more videos like that 😊
@eyephpmyadmin6988
@eyephpmyadmin6988 9 ай бұрын
Ive been uing your tools then saw you did tuff with naham sec and i had to check your channel out, im glad i did
@b391i
@b391i 10 ай бұрын
Nice lesson, Mr. Tom.
@janekmachnicki2593
@janekmachnicki2593 6 ай бұрын
Well explained Thanks Tom!
@mattlau04
@mattlau04 10 ай бұрын
Very educative and clear!
@MFoster392
@MFoster392 10 ай бұрын
Thank you for sharing your knowledge ,this is great stuff :)
@LocdNCoded
@LocdNCoded 9 ай бұрын
Awesome 🎉. Thank you! Very helpful
@GooogleGoglee
@GooogleGoglee 9 ай бұрын
Very well detailed video. Subscribed ❤ I hope in more videos about 'awk' command 😊
@256k_
@256k_ 8 ай бұрын
how can i learn all these damn unix/linux command line tools? not a joke for real, is there like a resource to learn about all of this? is this what a sysadmin does? i feel like there's so much power to be had with just the basic commnad line tools that are right there in every distro but i know nothing of them.
@RohitYadav-qt9lx
@RohitYadav-qt9lx 10 ай бұрын
Awesome video as always , if you can continue this series and go over some other useful commands from Bug hunter/Red Teaming perspective like: host nslookup [also a bit of DNS explanation lol] grep [regex matching] awk tr jq [complex operations like replacing strings in json] gron nmap
@indignasmr7379
@indignasmr7379 9 ай бұрын
Excellent video
@justinnamilee
@justinnamilee 9 ай бұрын
For the -0 flag alone this video is dope, because I had always wondered about it and just end up doing a bash for loop instead. xD
@mysteriousministar2481
@mysteriousministar2481 8 ай бұрын
we want moreeee, lets goooooo
@mikael5743
@mikael5743 7 ай бұрын
Great content
@TheD3adlysin
@TheD3adlysin 9 ай бұрын
Hey @tomnomnom These are awesome. Whats your goal with this video series? Hopefully, the entirety of the core-utils! Do Fuser next!
@ZachaPedro
@ZachaPedro 9 ай бұрын
If you’re using xargs with sh -c, then might as well insert the argument as a positional parameter of sh which that inner shell expands as an actual variable ($1) rather than keep using -I{}, whose behavior is finicky in practice. That does require you to surround the argument to -c in single quotes, and to provide a placeholder parameter that will become $0 (I use "sh-c") since that is supposed to stand for the script name, but I get fewer surprises in the end.
@echobucket
@echobucket 9 ай бұрын
it always drove me crazy that the default for find and xargs wasn't to use as the separator character. This is what most other commands deal with but somehow these are weird and use spaces by default.
@eshansh_bhardwaj
@eshansh_bhardwaj 10 ай бұрын
Simply Awesome 👌😊
@katiagalkina4607
@katiagalkina4607 9 ай бұрын
fantastic! keep it up. subbed!
@kfhahn
@kfhahn 5 ай бұрын
great video
@codelinx
@codelinx 9 ай бұрын
That was a great video
@dwolrdcojp
@dwolrdcojp 9 ай бұрын
Beautiful
@OluwadamilolaMojisola-v2h
@OluwadamilolaMojisola-v2h 10 ай бұрын
Awesome ❤ Tom
@betanapallisandeepra
@betanapallisandeepra 9 ай бұрын
Good one
@elbobinas
@elbobinas 10 ай бұрын
thanks sir
@h1k0r-mg2hc
@h1k0r-mg2hc 7 ай бұрын
Can you make a video topic bug hunting recon please ❤
@trejohnson7677
@trejohnson7677 9 ай бұрын
powershell piping beating the snot out of ye olde kludged xargs invokations
@KillianDefaoite
@KillianDefaoite 9 ай бұрын
I've never needed to use xargs, for loops have always been good enough for me, e.g for file in $(find . -type f); do tail $file; done or for file in $(cat listoffiles.txt); do tail $file; done Is there anything about xargs that makes it more useful than a standard for loop?
@kiryls1207
@kiryls1207 9 ай бұрын
please make a video about jdsl
@davidardo4466
@davidardo4466 10 ай бұрын
Please make more js video❤
@__CJ.__
@__CJ.__ 10 ай бұрын
@harshitjoshi3082
@harshitjoshi3082 10 ай бұрын
What if we give it -P100 ?
@امیرعزیزی-س6ذ
@امیرعزیزی-س6ذ 10 ай бұрын
🎉🎉🎉
@CantPickTheNameIwant
@CantPickTheNameIwant 9 ай бұрын
audio isn't loud enough
@TomNomNomDotCom
@TomNomNomDotCom 9 ай бұрын
I'll try fix that for next time, thanks :)
@CantPickTheNameIwant
@CantPickTheNameIwant 9 ай бұрын
@@TomNomNomDotCom thank you mate
@andyhall7032
@andyhall7032 9 ай бұрын
nice...thankfully no one except windows admins would use spaces in filenames...phew !!
@ysxninja
@ysxninja 10 ай бұрын
You eerily sound like youtube.com/@NoBoilerplate Must be a glitch in the matrix. Great to see more videos from you, ❤ I especially enjoy your VIM tutorial with @STOk. I Always go back to it and discover something new.
@akashsarkar990
@akashsarkar990 10 ай бұрын
Why aren't you using zsh?
@TomNomNomDotCom
@TomNomNomDotCom 10 ай бұрын
I've been using bash for about 25 years and I found it difficult to switch!
@aliakbarmostafaei
@aliakbarmostafaei 10 ай бұрын
How did you learn all of this? 👍
@TomNomNomDotCom
@TomNomNomDotCom 10 ай бұрын
Almost everything I've learnt has been as a result of having a problem to solve, searching for options to solve it, and reading further into the tools I found along the way :)
Xargs Should Be In Your Command Line Toolbag
16:24
DistroTube
Рет қаралды 101 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 79 М.
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 18 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 7 МЛН
SQLAlchemy vs. SQLModel: Which Python ORM is BEST?
7:47
Eric Roby
Рет қаралды 119
The Find Command
6:02
TomNomNom
Рет қаралды 10 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 305 М.
grep: A Practical Guide
13:55
Navek
Рет қаралды 76 М.
Bug Bounties With Bash - VirSecCon2020 Talk
54:13
TomNomNom
Рет қаралды 52 М.
Two solutions for the January 2021 Initigriti XSS Challenge
25:52
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 273 М.
Networking Fundamentals
1:16:04
TomNomNom
Рет қаралды 56 М.
Demystifying "find" and "find -exec" ...Lil' Linux Lesson!
8:12
Veronica Explains
Рет қаралды 52 М.
all about xargs ! (beginner - intermediate) anthony explains #200
17:16
anthonywritescode
Рет қаралды 9 М.