Тёмный

Learn the "ls" command! Lil' Linux Lesson! 

Veronica Explains
Подписаться 114 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 171   
@VeronicaExplains
@VeronicaExplains Год назад
One simple way to support the channel is buy the shirt from today's video, or one of the other designs I have on my website! I host and run the merch store myself- it's a great way to help me make more videos, and get a fun something for yourself! vkc.sh/product-tag/trackball-person/
@channelgogrvk
@channelgogrvk Год назад
i would happily purchase but there's no shipping to iceland 😭
@VeronicaExplains
@VeronicaExplains Год назад
Oh no! I think there should be. There's a few countries where VAT tables didn't update. Let me see what I can do- hoping we can get shipping there soon.
@aquinamedia4508
@aquinamedia4508 Год назад
Shipping to Sweden worked, just put a tiny order in 😊
@VeronicaExplains
@VeronicaExplains Год назад
@@aquinamedia4508 Thank you so much! 😊
@aquinamedia4508
@aquinamedia4508 Год назад
@@VeronicaExplains All my pleasure, i'll support in any way i can ☺
@ChrisHarringtonMinneapolis
@ChrisHarringtonMinneapolis Год назад
Arguments? That sounds like something I used to have on social media.
@bountoj
@bountoj Год назад
Arguments? I barely knew her. 0_o
@stevenhammberger7054
@stevenhammberger7054 Год назад
This channel has it all - Linux commands, playing with old hardware, and commiserating over the insanely cold Minnesota winters.
@cynrez
@cynrez 2 дня назад
Learning about Linux and hope to get my cert before the end of the year. Since I needed a little extra help so I looked up in RU-vid and found your channel and I’m OBSESSED!! Thank you also girl power 🥺♥️
@KrishnaDraws
@KrishnaDraws Год назад
Love this video - so useful! More of this type of content, please :)
@VeronicaExplains
@VeronicaExplains Год назад
Thank you! I'm hoping to do more Lil' Linux Lessons in the next year, as well as a few deeper dives into topics that are challenging in a small space.
@charlesbarilleaux2784
@charlesbarilleaux2784 Год назад
Props for the “use traditional, not some special package” comment. I use a variety of current and historical UNIXes (mostly MacOS), that may not have it for a variety of reasons. I can count on `ls` being there!
@JeffPomaybo
@JeffPomaybo Год назад
Why does it all sound so simple and reasonable when its explained well? thank you for your knowledge, its genuinely helpful.
@VeronicaExplains
@VeronicaExplains Год назад
Thank you for watching, and for the kudos! :)
@MeriaDuck
@MeriaDuck Год назад
As a part time teacher currently teaching Linux, I will certainly recommend your channel to my students.
@CronoCloudAuron
@CronoCloudAuron Год назад
Love the alliteration. One thing I have done for ls use is to set my dircolors so that directories use “reverse“ colors so they stick out more in a listing. Mine show as white text on a light blue background. Every time you say “Linux is awesome, and so are you.“ it warms my heart with wholesome goodness.
@NuAngelDotNet
@NuAngelDotNet Год назад
More of these for your most favorite Lil' Linux commands, please! Thank you!
@pascalschreiber3383
@pascalschreiber3383 Год назад
You're right, you have to know the basics first before going any further. Speaking of the basics, I'd find it interesting to explain file permissions on Linux. Maybe in a next video? Thanks to you .👍
@LeftoverBeefcake
@LeftoverBeefcake Год назад
+1 vote for a file permissions lil' Linux lesson
@BocusVeLucy
@BocusVeLucy Год назад
rwx_rwx_rwx I seperated them with underscore so it is easier to read. First part is owner’s permissions, second part is group permissions and last part is permission for others. R is read W is write and X is execute permission. If permission is - - x, it mean last bit is on so it value is 1 which is equal to 2^0. If permission is - w x, two bits are turned on so it is 1 + 2 = 3 or 2^0 + 2^1 = 3. If all permissions are given r w x, then it is 1 + 2 + 4 or 2^0 + 2^1 + 2^2 = 7. So if you see something like - rwx_rwx_rwx it is value is 777. You can change permission of a file with chmod command. Simply execute it like this chmod value filename. For example to set permission to -rwx_r-x_rw - on hello.txt, you can execute chmod 756 hello.txt
@radical_ans
@radical_ans Год назад
The fun part is finding anagrams of various argument combination. I.e. ls -halt
@jyvben1520
@jyvben1520 Год назад
the lahtr did make me think of latrine, the mind works in mysterious ways ...
@mickeh5278
@mickeh5278 Год назад
More of this kind of content please even though I like all your other videos😃 Great explained as usual.
@sandraviknander7898
@sandraviknander7898 Год назад
How have I not come across your channel before, you’re amazing. Informative and entertaining! Super cool that you are a cobol dev! Always wanted to take an afternoon to try it out but always other projects coming in the way. 😅
@stockwellengineeringhints3527
I only recently learned about the ls command in the last few years. I just always used "dir" as that's what I knew from the old DOS days back in the early '90s.
@wyattE415
@wyattE415 Год назад
Kind of like "oh just use software center to get software packages, not 'apt' or 'apt-get.'" or "no one needs terminal." If I want to retrieve, extract, and install a tar.gz from the terminal, that is my prerogative and am able to and I agree it is helpful to learn different ways to do things on any OS, but especially Linux because it's so robust. Also, I love the way you go over Linux concepts on here. It seems that many Linux channels that have tutorials do not actually teach Linux, but rather the person teaches us how they learned to use Linux and how they do it, and they always act as if that's the only canonical (ha pun!) procedure for doing so.
@eignnx_1738
@eignnx_1738 Год назад
"Linux is awesome! And so are you :)" My heart melts every time 😭 Thank you for such a fun and wholesome channel
@VeronicaExplains
@VeronicaExplains Год назад
Thank you! I try!
@peteryates308
@peteryates308 Год назад
Totally agree that knowing how the standard tools work is a must, especially when you don't know where your scripts might run. The ergonomics of modern tools is such a huge advantage though; I don't need to think when I use fd, ag or rg but (despite 20 years' use) I do have to think about find and grep.
@680x0
@680x0 Год назад
Ha! You managed to do it again (teach me something new I didn't know about a Unix/Linux command): that the -h option (which I've used for years with the df command) also applies to ls! Hooray! Linux _is_ awesome, and so is Veronica! :-)
@VeronicaExplains
@VeronicaExplains Год назад
I'm glad it was useful- thank you so much!
@d00dEEE
@d00dEEE Год назад
You may already know these other dash-haitches, but just in case: 'ls -lh | sort -h +4' and 'du -h | sort -h'
@JarrodCoombes
@JarrodCoombes Год назад
@@d00dEEE Tweak that last command to du -sh ./* | sort -h and you get a nice sorted list of the each sub directory summary, rather than a massive list of every file under your current path.
@Hey-Yaz
@Hey-Yaz Год назад
"The terminal's totally triumphant in the tableau of tried and true technology tendencies" LOL!! This needs to be on both sides of a T-Shirt for mech. Where do you come up with these great lines? Another informative video. Thanks!
@Karla_Finch-Cluff
@Karla_Finch-Cluff Год назад
Heck yeah, this was great information! I did not know ls could dump to a text file, thanks!
@Neptutron
@Neptutron Год назад
I love the way you talk in 0:33, it reminds me of Zack Freedman - the way all the words start with the same letter :D
@ksukat87
@ksukat87 Год назад
Ah yes. ls. Fun note: different variants of unix (at&t and bsd) have different arguments for the ls command. Also, my favorite is to pipe the output of ls to more so its paginated. I also alias the ls command in my shell init script so I don't have to type in the ls arguments every time. Nice intro to ls. Thanks.
@willemvandebeek
@willemvandebeek Год назад
Merry Christmas, best wishes for the new year, and thank you for calling me awesome, Veronica, you are awesome too. :)
@hafsaesam3743
@hafsaesam3743 2 месяца назад
Thank you, Veronica!
@esra_erimez
@esra_erimez Год назад
I love visiting with Veronica even if I know ls already 😀
@VeronicaExplains
@VeronicaExplains Год назад
It's always great to see you here in the comments! :)
@fabienmargerie6815
@fabienmargerie6815 Год назад
👍😎You too are awesome Veronica! Love The Lil' Linux Lesson! See you soon. 👋
@Adiusza
@Adiusza Год назад
This is the most usefull tutorial about ls command i have ever seen or read ...omg :O
@SudipRajbanshi05
@SudipRajbanshi05 Год назад
That's a great video! Well explained Please more videos on these topics
@jayzsphotography6
@jayzsphotography6 Год назад
I have been using the "ls" command for years and I learned something new, thanks Veronica!
@videobenny3
@videobenny3 Год назад
You had me at the bouncing Amiga ball. Fascinating how it was using cycled colors to imitate facet animation.
@MauricioLeonCalvo
@MauricioLeonCalvo Год назад
Well explained! Thank you! and yes, Linux is awesome!
@Lokra_
@Lokra_ Год назад
Wow, now you have secured at least 1000 more videos for the rest of the most used commands on Linux.
@okona1up
@okona1up Год назад
Your style totally reminds me of Technology Connections. (-:
@mikehosken4328
@mikehosken4328 Год назад
I agree with the learning the standard packages commands. If the new package is great it will become the standard. For instance nano replaced vi as the default editor
@EricCorsi
@EricCorsi Год назад
Well played and concise. Very nice.
@neilbrideau8520
@neilbrideau8520 Год назад
Ive been rolling code on Linux since '96 and by FAR my most used command is ls. Your production value has come a long way and I think it is very entertaining BTW. PS ls -1 is way better than ls -l if you are saving a list of files to be processed later.
@dcc1165
@dcc1165 Год назад
Another reason to stick with traditional tools in your scripts means they are almost guaranteed to be portable (yes, I know there are caveats, but that's not the point). Some systems may not have the new-fangled tools installed or they may not be supported at all. I guess Ken Thompson and Dennis Ritchie knew what they were doing when they first create Unix and all its bits and bobs :).
@devoidbmx1
@devoidbmx1 Год назад
Thanks, I’ve been using Linux for about a month and I didn’t know about the -a or -l arguments which I will start using often.
@VeronicaExplains
@VeronicaExplains Год назад
Glad it was helpful! Another I didn't cover is if you want to paginate a really long listing. I do `ls -lt | less` a lot. The `l` and the `t` are a long listing by modified time (so I can see the most recent files), the `|` pipes the results of the command into the next command, which is `less`, a pagination feature. In a folder with hundreds of files it can be a great way to see at a glance what's new.
@devoidbmx1
@devoidbmx1 Год назад
@@VeronicaExplains Wow thanks for the response. I know how to | GREP, but it is funny - in the shower yesterday I was wondering "what the hell does the pipe mean. Appreciate it!
@jchidley
@jchidley 8 месяцев назад
Yep. Doing sysadmin work requires you to get the best out of the least functional common tools tools. Here documents, bash, awk and sed are really useful. I am a touch typist and I did an international job. I had to use multiple keyboard layouts, sometimes without the benefits of the keys themselves (remote access) - oh the fun I've had finding the #, $ , / or \ keys!
@neverping
@neverping Год назад
I really liked that you mentioned that although there are alternatives for main Unix commands, sometimes you are limited to company's compliance on what you can have on your computer and on servers. For instance, I had a manager that navigates into files and directories using the "midnight commander", or simply "mc". It's a uself tool that resembles Norton Commander. He's very good at it. But when he have to look at directories on a server, I could see that he "lags" on going into different directories quickly by using the famous "tab tab tab" with Bash / ZSH auto-complete. It's not that he doesn't know. It's just that he is more used with mc for dir/file viewing rather than doing on the shell.
@afiqhamzah2463
@afiqhamzah2463 Год назад
Subscribed. love the 80s/90s vibe
@send2gl
@send2gl Год назад
Used ls for ages but learnt about other useful flags. Didn't realise the -h which is used on other terminal commands, shall use that in future.
@6502Assembler
@6502Assembler Год назад
You should throw in a section about DIR_COLORS in the environment.
@zameerpashablr
@zameerpashablr Год назад
Best for Learners and the expertise too. Love your explanations. Simply the best and Awesome too.
@BoyceBailey
@BoyceBailey Год назад
These are the every day commands I need for the windows 10 end of life move.
@ripleysmith7583
@ripleysmith7583 Год назад
Love your videos. Thank You for making them.
@davidwright507
@davidwright507 Год назад
I was issuing the "ls -ltra" command for years but wasn't sure why. I need to use the manpage command more often. Great content!!
@rezydev
@rezydev Год назад
Loved the content. Thanks
@YOLOjst1s
@YOLOjst1s Год назад
Hii!! I've never seen some Linuxtuber make such great quality and beautiful contents :) As someone who is a newbie in these I want to request that you add more lessons like this (in your own pace ofcrs). I would really like u to share what alias commands u use .thanks for your content .
@Rothkeen
@Rothkeen Год назад
Damn I love these types of videos. Thanks Veronica
@DeputatKaktus
@DeputatKaktus Год назад
According to a friend of mine, there is a secret club or society, membership in which is by invitation only, that you only get to join once you know every argument of the ls command by heart. What they do, I don’t know. But it probably involves lists.
@AndreaIppolitoIppo
@AndreaIppolitoIppo 6 месяцев назад
In case anyone's wondering about the terminal font Veronica is using, using some highly sophisticated tools (i.e. comparing stuff with my eyes on screen :D) I figured out that it should be Iosevka Put it in my config and it looks the same, very nice font
@VeronicaExplains
@VeronicaExplains 6 месяцев назад
Absolutely- in this video (and most of the time) I'm using Iosevka. A very nice typeface indeed.
@tekdragon
@tekdragon Год назад
I stick with "ls" though I do often splurge and use the "ll" alias for "ls -l" that many distros have pre-configured. love your vids!
@JarrodMcKitterick
@JarrodMcKitterick Год назад
Originally I used "ll" in LPMud's as a "long look". Once I started running Linux servers at home I made the "ll" alias for "ls -l". Didn't know it was a common pre-config. Nice
@unclerubo
@unclerubo Год назад
Thanks, Linux mom!
@MarkAngeloTorres-s8g
@MarkAngeloTorres-s8g Год назад
linux mom is cool, i love your videos!
@kiaranlomas1949
@kiaranlomas1949 Год назад
Brilliant, Love this sort of comment delivered with such a great attitude and smile 🙂 More Please
@VEKTOR_87
@VEKTOR_87 Год назад
Thank you really helpful
@shrizza
@shrizza Год назад
Just the thought of `ls`ing my Downloads directory makes me look over my shoulder.
@jerrymckee4332
@jerrymckee4332 Год назад
nothing like good old POSIX standards!!
@us8330
@us8330 Год назад
I like your videos, your english is perfect!!
@keithlambell1970
@keithlambell1970 Год назад
I only recently discovered the "-h" option. I use it all the time now (because I am a human) :-)
@FleetStreetBarber765
@FleetStreetBarber765 Год назад
Just found your channel and subscribed 💃
@JarrodMcKitterick
@JarrodMcKitterick Год назад
Yay for the LLL. It was fun to play along. Must be synchronicity. Woke up, put on the T568b shirt, and a new vSplains. Going to be a good day!
@VeronicaExplains
@VeronicaExplains Год назад
Thank you for the support! :)
@aquinamedia4508
@aquinamedia4508 Год назад
YOU'RE AWESOME!
@VeronicaExplains
@VeronicaExplains Год назад
And so are you!! :)
@jeffreyphipps1507
@jeffreyphipps1507 Год назад
Oddly, I've never used any thing for this except ls - for decades. I didn't know there was anything else.
@grandgab
@grandgab Год назад
I hope there will be some more video in the Lil' Linux Lesson!
@ronm6585
@ronm6585 Год назад
Thank you.
@ryoukaip
@ryoukaip Год назад
thank you so much!
@ringo8410
@ringo8410 Год назад
Learning ls before using exa is a bit like learning C++ before moving on to something like Java: you get a sense of the fundamentals before using something that does a lot of the dirty work for you. Java doesn't require a lot of the setup for data structures that C++ does, but having to do that setup in C++ gives you a deeper understanding of them. I don't know if that makes sense at all..
@Fweddle
@Fweddle Год назад
*sees the title* Mwhahaah. My unix class prepared me for this day
@richardahlquist5839
@richardahlquist5839 Год назад
I have got to agree about knowing the basics. I mean you can jump into an ages old box on a 2.x kernel and LS will still be there.
@spreadneck2063
@spreadneck2063 Год назад
You should do one on bash aliases!
@crazybeerd
@crazybeerd 3 месяца назад
I like to install "sl" so that if I mistype the "ls" command by inverting it the steam locomotive chugs across the screen. Then instead of getting annoyed at my typo it makes me laugh instead every time. 😂
@IrrationalExuberance
@IrrationalExuberance Год назад
Veronica, you use the exact same PS1 config value that I do. Good prompt taste.
@IrrationalExuberance
@IrrationalExuberance Год назад
Just realized all the RedHats use this for their default ; ) been a while since I used one but that explains why I do this on other distros now haha
@jyvben1520
@jyvben1520 Год назад
When using linux at home, i prefer to add mc (midnight commander) it presents so many linux commands, and you can integrate custom commands/scripts somewhere
@gjermundification
@gjermundification Год назад
I have used `ls -lAh` mapped to ll, however these days I use `exa -l` for ll alias or `exa -lTL 2` for lt
@NachtmahrNebenan
@NachtmahrNebenan Год назад
My favorite for a first view into a directory is `ls -hAlF` (think of a Halfling you're asking for information - who will not talk about a second breakfast tho).
@epotnwarlock
@epotnwarlock Год назад
I switched to Trackball, its underrated
@DeirdreYoung1
@DeirdreYoung1 Год назад
ls is awesome.. and so are you 😀
@VeronicaExplains
@VeronicaExplains Год назад
Thank you! So are YOU!
@dagaspadini6543
@dagaspadini6543 Год назад
This is the first time I've ever heard of exa, but I guess I'll stick to ls. For work I had to deal with some AIX and Solaris servers that didn't even had watch or htop installed, so it's good to know to use "old" commands just in case.
@ShdxW
@ShdxW Год назад
Took me longer than I'd like to admit to realize that I was looking at a printed list of Who albums at 3:05 lol
@VeronicaExplains
@VeronicaExplains Год назад
Note the dates in the listing. :P
@stevdodd7515
@stevdodd7515 Год назад
Fun and informative 👏👏
@jebidiahcarlyon3543
@jebidiahcarlyon3543 Год назад
Awesome, I was sure I would learn something - but learned a few gems! Now I'm wondering if I can write some shell scripts to create list of files by regex. Thank you!
@NebulaM57
@NebulaM57 9 месяцев назад
Great video! Thank you for sharing. Can I ask, is there a 'config' file that would let you make ls -h a default? Meaning, any time I use ls, it will actually use ls -h? (I'm not at my Linux box at the moment to check the MAN pages).
@alecclews
@alecclews Год назад
Fun game (because ls has so many options). See if ls will take your name as an option string e.g. `ls -veronica`. Unfortunately `-e` is not a valid option. However, `ls -vronica` works.
@alishafogle6053
@alishafogle6053 Год назад
I have a request for a video. Can you do a video on OpenVPN? Please and thanks for the great videos.
@david486038
@david486038 Год назад
You really are such a great teacher. Thankyou for these videos!
@VeronicaExplains
@VeronicaExplains Год назад
Thank YOU for the support! I very much appreciate it!
@philippklostermann7768
@philippklostermann7768 Год назад
It's like: You can use pico, but you should still be able to handle vi. (And then you don't need pico.) I've never heard of exa and it doesn't seem to be part of a basic debian install. Googleing for it names features as advantages over ls, that I know from ls. So what is exa for?
@peterreed3104
@peterreed3104 Год назад
Hey, Teach I have my hand up it's tired now its been up for four months waiting for the next Lesson. "Please Ma'am Can we have some More"?
@stopspyingonme9210
@stopspyingonme9210 Год назад
Just stick to bop-it. It’s called a man page not a wo-man page. Just kidding this channel is great.
@joeruss1834
@joeruss1834 Год назад
Shout out to the `ll` alias! I always forget that > and >> exist since I use them so rarely.
@Benoit-Pierre
@Benoit-Pierre Год назад
its not enabled by default on debian, you need to edit your/system bashrc or bash_profile
@vdochev
@vdochev Год назад
ls works.
@forestsmills
@forestsmills Год назад
I always setup an alias so that 'ls' actually runs ls -a. I hate getting tricked into thinking that some file I need doesn't exist.
@doobybrother21
@doobybrother21 Год назад
Are you sure about the powerdrill/hammer analogy ?
@VeronicaExplains
@VeronicaExplains Год назад
Very sure! There's nothing wrong with having a great set of power tools, but if you don't know how to swing a hammer there's going to be trouble when all you have is a box of nails. I've been in dozens of situations where all I have is the classic UNIX tools, due to vendor vexation or container constraints. Not to mention hyper-secure environments which require ten layers of bureaucracy to get a package approved. And all of that ignores the scripting issue- if you are scripting, you should really stick with lowest-common-denominator tools. More dependencies equals worse scripts, generally.
@doobybrother21
@doobybrother21 Год назад
@@VeronicaExplains So you don't use a hammer to drive in screws when you are carpenting. That is good to know :)
@Benoit-Pierre
@Benoit-Pierre Год назад
@@VeronicaExplains nails sux. when all I have is nails, I go buy some screws. nails are only good for weight compensation when I have balance issues, or replace wood stick with something stronger.
@AschKris
@AschKris Год назад
I like -A because it hides the . and .. directories I don't know if it is standard though
@GSBarlev
@GSBarlev Год назад
Oh wow! I didn't know this existed! Thanks for the tip!
@Benoit-Pierre
@Benoit-Pierre Год назад
-A is not -a Linux is case sensitive. it's not DOS. In fact even Windows is case sensitive for arguments. on ls this mistake will just produce an error. on other commands like hdparm it may just kill your machine ... physically. no -a is not standard. you may have it on most platforms, but may not have it on all. she goes too fast on the difference between UNIX , System V, POSIX , and GNU. They are different sets of standards.
@jugnu361
@jugnu361 Год назад
LS -LAR
@Benoit-Pierre
@Benoit-Pierre Год назад
LS command not found. linux is case sensitive.
@KarmaMan82
@KarmaMan82 Год назад
apt-get install sl sl
@fmario
@fmario Год назад
Where is the cobol video? I was looking forward to it!
@VeronicaExplains
@VeronicaExplains Год назад
Did I promise one? I don't know how interested folks are in a COBOL video, but I am working on a COBOL idea that will take time to get done. :)
@sophya5796
@sophya5796 Год назад
@@VeronicaExplains Sigh...I wish I could code in cobol and work with the modern mainframes. It really is my ultimate dream, not as a job but as a life 💔
@fmario
@fmario Год назад
@@VeronicaExplains That's great! What really interests me is to know how/where COBOL programs are run nowadays. I imagine you have a good perspective on it.
@lillywho
@lillywho Год назад
I'm just now starting out on the video, so I'll be very disappointed if you don't mention ``sl`` ;P Edit: What, really no sl, the anti typo learning tool for sl? Banter aside though, if you haven't heard of it yet, you should take a look at the github repos with the various forks. It's adorable!
Далее
Lil' Linux Lesson - Sudo for beginners!
5:26
Просмотров 27 тыс.
Is the terminal still worth learning?
9:40
Просмотров 38 тыс.
🎙ПОЮ для ТЕБЯ ВЖИВУЮ!🍁
3:12:31
Просмотров 440 тыс.
Comment scamming: a solvable problem?
8:47
Просмотров 10 тыс.
The 5 Things That Taught Me The Most About Linux
18:41
OpenSSH for Absolute Beginners
23:00
Просмотров 109 тыс.
Your hardware and software tools are probably fine.
9:07
What is the Smallest Possible .EXE?
17:04
Просмотров 393 тыс.
Dot matrix printers aren't dead!!
12:02
Просмотров 39 тыс.