Linux Terminal Introduction

  Рет қаралды 270,659

ExplainingComputers

ExplainingComputers

Күн бұрын

Linux terminal tutorial, aimed at those migrating from Windows, and users of single board computers including the Raspberry Pi. Covers a range of terminal commands and Linux concepts, including navigating and manipulating drives and directories using the commands pwd, ls, lsblk, cd, mkdir, rmdir, cp, and mv. Video also covers installing applications via the terminal, and a few tips and tricks!
If you enjoy this video, you may also find useful my other episodes:
Linux Mint 19 for Windows Users:
• Linux Mint 19 For Wind...
Zorin OS 15 for Windows Users:
• Zorin OS 15 for Window...
Linux Tips for MS Office Users:
• Linux Tips for MS Offi...
Linux PhotoShop Alternatives:
• Linux Photoshop Altern...
More videos on computing and related topics can be found at: / explainingcomputers
You may also like my ExplainingTheFuture channel at: / explainingthefuture
#LinuxTerminal #Terminal ~Linux #ExplainingComputers

Пікірлер: 1 200
@marcrives279
@marcrives279 4 жыл бұрын
18:42 "Do you want to continue? [Y/n]" The choice in capital letter is the default one, which will be used when simply hitting enter key.
@AtlasReburdened
@AtlasReburdened 4 жыл бұрын
Nice, thanks. You probably just got me an hour or two of extra free time this life.
@johnc3403
@johnc3403 4 жыл бұрын
really? I didn't know that :) This is a great video from Chris and it's comments section.. thanks Marc
@marcrives279
@marcrives279 4 жыл бұрын
But there is a catch! Sometimes, default choice may not be the right one for you! So, you still have to read, always ;)
@pspicer777
@pspicer777 4 жыл бұрын
One addition to the above. A lot of bash scripts and programs will have a command line argument that allows unattended install by auto selecting the defaults or by specifying them as an argument on the command line. But, you have to be sure if course ... 😁
@DJ-lg6nu
@DJ-lg6nu 4 жыл бұрын
also, when running an everyday command such as "apt-get upgrade", end it with -y or -n to skip this step entirely.
@Bwyan
@Bwyan 4 жыл бұрын
Longtime Linux user here. Never heard of "cd -". What a neat trick. Thanks for the tip.
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
Hey same here! I always wished there was a "back" option for cd and apparently I just found it... I'll be using that a lot :D
@powerboy322
@powerboy322 4 жыл бұрын
see also pushd and popd
@tommisgr
@tommisgr 4 жыл бұрын
U can simply type "cd" and enter and it will do the same thing
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
@@tommisgr no it won't, we're talking about `cd -` and I think you're thinking about `cd ~` which look similar but have entirely different functions.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
@@tommisgr No, that takes you to your home directory.
@notalessandro
@notalessandro 4 жыл бұрын
So today I decided to finally learn about Linux after 17 years of pure Windows computing... and then this video pops up... the timing couldn't be more perfect
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Excellent!
@DescendantsOfEnoch
@DescendantsOfEnoch 4 жыл бұрын
other good channels: joe collins, average linux user, chris titus tech, dorian dot slash, switched to linux, infinitely galactic there is a brand new FB group for newbies called Penguin Momentum
@notalessandro
@notalessandro 4 жыл бұрын
@@DescendantsOfEnoch thanks a lot!
@GS-HIFI-AUDIO
@GS-HIFI-AUDIO 3 жыл бұрын
The ease of navigating by double clicks to access just about anything kept me as a Windows user for 20+ yrs. Recently I've been making many changes to the registry and user account to give myself more control over this operating system that… you know… paid for and own? Microsoft clearly disagrees and feels I need help from myself by denying access to many things and making it literally impossible in some cases to disable software that sends them usage data. Im now a Linux (Arch) user indefinitely now.
@5argetech56
@5argetech56 4 жыл бұрын
The Terminal is Power... I still remember the early days of MSDOS. PC's before windows. The command line was king!
@sethrd999
@sethrd999 4 жыл бұрын
MSDOS like windows is a rip off of Unix or *Nix to those in the know. DOS or even powershell have anything on the early shells eshell cshell let alone ash or bash. I thankfully skipped the need for dos/windows since I was brought up on SCO ( true SCO ) and Solaris.
@5argetech56
@5argetech56 4 жыл бұрын
@@sethrd999 I use Linux as my everyday OS.
@sethrd999
@sethrd999 4 жыл бұрын
@@Kensownvids Which again is a rip off from Unix
@5argetech56
@5argetech56 4 жыл бұрын
@@Kensownvids Gary Kildall, the creator of CP/M.. Remember Computer Chronicles on PBS? :)
@sethrd999
@sethrd999 4 жыл бұрын
@@5argetech56 Me to all the way back from Slackware ( yes the first Linux distro ( a floppy disc ) .. I used to have various SGi kits also ( pizza boxes ) that had irix on them.
@gavincole5793
@gavincole5793 3 жыл бұрын
I've been watching loads of Terminal tutorials over the last couple of days. I should have known that Chris would have the best video out there. Clear, concise and to the point. I find myself coming away from this video having learnt something instead of watching someone race through their instructions without mentioning their shortcuts.
@Tiger351
@Tiger351 4 жыл бұрын
Yet another timely video with the end of Windows 7 support earlier this week, very well explained Chris and makes the whole process seem much easier than many Windows users would have expected.
@kennyluba4137
@kennyluba4137 4 жыл бұрын
Ah, the basics explained in comprehensive detail. Thanks again, Chris!
@gregoryturner1505
@gregoryturner1505 4 жыл бұрын
I always look forward to Sunday and a new video from ExplainingComputers. Thanks for giving back to the Linux community with your tutorials.
@thomasburnett4712
@thomasburnett4712 4 жыл бұрын
Thank you so much for the terminal commands refresher video! As always, I enjoyed watching it, was reminded of things I had forgotten over the years and learned a few things I had previously missed.
@factChecker01
@factChecker01 4 жыл бұрын
It's worth noting early that Linux directory and file names are case sensitive. You MUST get the capitalization right.
@encycl07pedia-
@encycl07pedia- 4 жыл бұрын
Yeah, but that's why you shouldn't have dirs with capitals... or filenames with capitals...
@ericscaillet2232
@ericscaillet2232 2 жыл бұрын
@@encycl07pedia- unless duplicate names but not content
@encycl07pedia-
@encycl07pedia- 2 жыл бұрын
​@@ericscaillet2232 You shouldn't duplicate names like that. It's just asking for problems and confusion, especially when copying between filesystems. You're very likely to wipe one of the folders/files out.
@kenm.7651
@kenm.7651 4 жыл бұрын
To answer your closing statement, I did find this useful...you’re a very good instructor. Thanks!
@srryan5150
@srryan5150 4 жыл бұрын
You could not have made this video at a better time! I am in the process of trying to learn more about linux and I find your videos always informative and entertaining. Keep it up!
@ljpellegrino6843
@ljpellegrino6843 4 жыл бұрын
Great stuff. Would love to see more terminal use videos. Very helpful and easily to keep up with your explanations.
@arunrchaturvedi
@arunrchaturvedi 4 жыл бұрын
The command line is what one needs to master to go beyond ‘skin deep’. Thanks for the video, Chris!
@sailaab
@sailaab 4 жыл бұрын
100% in agreement Arun ji
@nutinmyass
@nutinmyass 4 жыл бұрын
Yes. The command line will get you balls deep
@johanb.7869
@johanb.7869 4 жыл бұрын
It's also the quickest way to install things, like sudo apt install firefox;) But you can also bork your system as I found out myself.
@consistentlyinconsistent816
@consistentlyinconsistent816 2 жыл бұрын
The command line is a rabbit hole and one can never forget its ease once one gets used to it, even for basic file navigation.
@todetermined7421
@todetermined7421 4 жыл бұрын
best linux intro that I have watched over the last year. Thanks it is appreciated.
@arthurdent8091
@arthurdent8091 2 жыл бұрын
Another first-rate addition to your already substantial catalog of great videos. I have been looking for a video, off and on, for\some time to explain why commands and printouts were in different colors and spaced in the Linux way. Thanks, Chris.
@LuisScharf
@LuisScharf 4 жыл бұрын
This is why I watch your channel. This. You, sir, are thoughtful and generous and patient. I knew all this, but it has been taught well and with the proper pace. Awesome!
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks.
@fredhair
@fredhair 4 жыл бұрын
There is something very satisfying about learning to use the cli and linux in general. I know a fair bit about the shell but it never hurts to brush up and this channel is always a reliable source of useful information that I never have to point out corrections or criticise the fact checking.
@adrianfox9099
@adrianfox9099 2 жыл бұрын
Incredibly useful summary. You have explained more in a few minutes than I have absorbed trawling through pages of text in trying to learn.
@leeoliver2969
@leeoliver2969 4 жыл бұрын
Been a linux user for quite a while. Still learned lots from this video. Absolutely fantastic teaching.
@ESquared42
@ESquared42 4 жыл бұрын
This was a great video, I have been using Linux as my desktop for almost 10 years, started with Ubuntu, then Mint, I now use Manjaro with KDE and love it. That said I picked up a few tricks from this video that I didn't know. Thanks!
@Uniblab8
@Uniblab8 4 жыл бұрын
Excellent! This clarified some terminal commands for a fairly new Linux user such as myself.
@Fernandovecchi
@Fernandovecchi 4 жыл бұрын
great channel. I'm from Brazil and I needed a channel like this !! congratulations!
@coreyaudet8574
@coreyaudet8574 4 жыл бұрын
The comments are a continuation of this lesson! I am inspired, and I thank all of you who enjoy sharing your knowledge, and not looking down on beginners. We all had to crawl before we walked people. Thank you ALL, especially Chris for starting this information filled basic lesson. I have found it the most exciting place to begin out of all the stuff I've been learning.
@johancouder8013
@johancouder8013 4 жыл бұрын
I took a course in CLI Linux a year ago. Six months later I've almost forgotten half of it. :( You really have to keep practicing these things.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
This is so true -- knowledge that is not excercised somehow drains from our skulls. I sometimes have to go back to my own videos (or scripts therefore) to check what I "know" about something! :)
@benrandomly2016
@benrandomly2016 4 жыл бұрын
Dispelling the wondrous mysteries of the dreaded terminal. Good video. I've been running various versions of Linux since 2008. I found this to be very helpful.
@johnthomas645
@johnthomas645 4 жыл бұрын
"Hope you found this useful." Quite the understatement, I found it extremely useful as a new Linux user. Thank you.
@rutkowskir
@rutkowskir 4 жыл бұрын
It is good to see command line basics explained, thanks!! Amazing what you can do with command line with the addition of grep, sed & awk tools! It would be great to see a basic demo of these powerful tools at some point. Many think you would need a formal programming language like C or Python to get more complex tasks completed but by using these tools, complex data manipulation and more are very possible with one command line. Thanks again for another great video!! Great to see deeper dives into the complexities of Linux!
@DrZbo
@DrZbo 4 жыл бұрын
Thank you thank you! This really helps fill in a few of the gaps! I already have a small amount of experience but this was really really helpful. Do as many of these as you can haha.
@grimbalance3435
@grimbalance3435 4 жыл бұрын
As a kali Linux hacker I can say that this video helped to new users using Linux or looking forward to be using it, just a proposition, if someone wants to be anonymous, use Linux becouse it's really secure and they don't steal your information
@George_K1
@George_K1 4 жыл бұрын
Outstanding Terminal video .... One of the best introductory videos to Terminal.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks for this feedback, most appreciated. :)
@klivekussler4496
@klivekussler4496 4 жыл бұрын
Thank you Chris for another great presentation , easy to understand visually and audibly . This Tutorial is without doubt a great help for those like myself and others who need reassurance when delving into the Terminal in Linux OS . I thank you again Chris for your contribution in helping the not so savvy Terminal users into gleaning much needed down to Earth information on this subject . Oh and by the way " happy new year " .
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
A Happy New Year!
@sedanchair2
@sedanchair2 4 жыл бұрын
...Fantastic video! It took some of the mystery out of the terminal for me!
@aquarianage3953
@aquarianage3953 3 жыл бұрын
THE BEST INTRO TO THE LINUX TERMINAL I'VE EVER SEEN!!!!!! You did an outstanding job with the crystal clear graphic presentation of the Linux terminal, the narration, and the demonstrations. I have always loved the way your videos begin with electronic music and the various computers being displayed. Keep up the great work! 👍
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
Wow, thanks! :)
@phildodd9942
@phildodd9942 4 жыл бұрын
A great response that you're getting from viewers to your tutorial ! Excellent ! At least people new to the concept now know that there is "something there" which they can use, and can delve around later to find out more ! Hard work for you, that tutorial ! Perhaps a future one on Midnight Commander ( which I understand that Microsoft have adopted as part of their Linux portal on Windows 10 which someone mentions below ) ? Or maybe show how to connect a Raspberry Pi shell to a desktop system, in order to control the Pi remotely ? Yes, a good introduction - and you are a very noble person to have even attempted it ! Great stuff !
@christopherraines7080
@christopherraines7080 4 жыл бұрын
I've been using UNIX/Linux for 3 years. I've learned quite a lot from this tutorial. thank you
@BlueSpruce2
@BlueSpruce2 4 жыл бұрын
Thanks for a great intro tutorial on the Linux terminal! As someone looking for an alternative to the ever more intrusive and restrictive Windows OS this is very helpful. With each new version of Windows we know even less about what's going on under the hood, not to mention how much Microsoft is spying on users of their bloated operating system.
@Colin_Ames
@Colin_Ames 4 жыл бұрын
Thanks. Over the years I have spent a lot of time working with DOS, and on the odd occasion when I use Linux I often get the commands wrong. This video is very helpful.
@theleopards4198
@theleopards4198 4 жыл бұрын
Loved the video exact right details for introduction.Need of more videos on this stuff
@mikecook317
@mikecook317 4 жыл бұрын
I love your channel, always so much useful information, I'm new to linux and the terminal is still a mystery to me
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
That's a great tutorial Chris! There's a couple of points that I'll add, although it's not much. 1) be aware that `sudo apt install` is distro specific, most (all?) debian based distros use apt but other distros use different package managers, for example I'm on arch and use pacman (cool name btw arch people). 2) if you want to remove a directory with files in it, neither rm or rmdir will work: you have to use `rm -r` just like you have to do `cp -r` on directories. 3) running a command on the terminal is basically just running a program. cp is a program, so is rm and mkdir etc. Some programs, like cp and rm only work if they are run from the terminal, but others (for example chromium-browser (guess what that does)) will work either from the terminal or from the GUI. 4) If --help doesn't give enough info, try `man `. Man stands for manual, and it usually gives a very indepth view of the options and some examples. 5) ctrl-d to exit terminal is pretty efficient IMO They're just a few things I use a lot and thought some people might want to know.
@Reziac
@Reziac 4 жыл бұрын
Actually, beginners usually want a very simple explanation, not an in-depth one. Even --help makes an appalling amount of output if all you want is the basics of running the command. Good post otherwise, tho ...someone must have typed --help in your terminal :)
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
@@Reziac yes of course but there's both in-depth and also the basics covered in this video, I'm guessing it's aimed at people who aren't _complete_ beginners but they may have used CMD before etc.
@Reziac
@Reziac 4 жыл бұрын
That too -- as I mention below, I'm an old DOShead, but still find the linux commandline opaque, so this kind of familiarization is actually quite helpful.
@DonVigaDeFierro
@DonVigaDeFierro 4 жыл бұрын
@@KingJellyfishII Well, if you just installed a linux distro on your computer, you're not a "complete beginner". Your input is very much appreciated.
@tomjerr7049
@tomjerr7049 4 жыл бұрын
Linux ppl r gr8t.
@spikekent
@spikekent 4 жыл бұрын
Great video Chris, I love learning terminal stuff of all kinds.
@barathits9059
@barathits9059 4 жыл бұрын
Thank you so much for making this comprehensive video, I'd love to know more about Linux terminal and how Linux works.
@artmcteagle
@artmcteagle 4 жыл бұрын
You may find these KZbin channels of interest. Average Linux User - Command Line Tutorial; kzbin.info/www/bejne/pqmbdWpoodSFjMk LearnLinuxTV - Linux Commands for Beginners; kzbin.info/www/bejne/oqe2oKuFgsxolcU
@pshearduk
@pshearduk 4 жыл бұрын
Thanks for the video as always Chris, I've liked while watching.. I know it will be as quality as always. atb for 2020 amigo. ty
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks Paul.
@choro76
@choro76 4 жыл бұрын
Oh wow, you just made me remember when learning how to use DOS at school! Happy days!
@resrussia
@resrussia 4 жыл бұрын
When I use the terminal in Linux, I always feel like I really using Linux. Also, I find it easier to use SSH to connect to my Raspberry Pi's terminal to write python programs on it than using my Rii keyboard. Like 5argeTech, I remember the happy days of using MS-DOS on personal computers. Keep up the excellent work you do each week!
@raibeartcahill4295
@raibeartcahill4295 4 жыл бұрын
Excellent, clear, straight forward, and logical intro to the Linux terminal! This will now be the one I will point new Linux users to instead of another one out there that I used to send people to. Thanks a bunch Chris! Very well done sir!
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks.
@DacLMK
@DacLMK 4 жыл бұрын
In my university we have a subject that teaches us how to use the terminal in Linux. Most of the computers run Windows so we need to use a special program, but I just bring my laptop that runs Linux Mint. It's a very interesting subject and the professor who teaches this subject is the best. I'll recommend this video to him to use it in the next year for the next generation of students. Cheers.
@mjdxp5688
@mjdxp5688 4 жыл бұрын
The terminal might seem scary at first, but it doesn't have to be. It's pretty easy to learn the basics, and it can make doing certain tasks easier. If you're looking to learn more about the Linux terminal, Joe Collins made a fantastic video which teaches you all the basics I definitely recommend.
@theSEGAtwistisover9k
@theSEGAtwistisover9k 3 жыл бұрын
Excellent tutorial, this should be a series!
@JayMcGowan
@JayMcGowan 4 жыл бұрын
An outstanding introduction to the Linux command line. Thank you.
@ryancoke777
@ryancoke777 4 жыл бұрын
I love using the Linux terminal for the most part. It brings me back to the days where DOS was the primary OS and windows was just a program
@reggiep75
@reggiep75 4 жыл бұрын
It's been decades since I really worked on a computer from the command line interface (in the context of using a PC), probably 1993, and yet I can still remember learning MS-DOS before then, at school, and continuing in computer training. I might get a book on Linux as I intend to re-purpose an older PC as a Linux machine.
@BeastSmack
@BeastSmack 2 жыл бұрын
Bro I swear you are out of a comic book or cartoon you fit the persona of a nerd so well. I like your videos, well put together and informative!
@ElyRiverBlues
@ElyRiverBlues 3 жыл бұрын
I learned more in 20 min here than all my attempts at books and texts on the subject. Thank you so much - excellent! Need to re-watch and tale some notes now.
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
Great to hear. :)
@weerobot
@weerobot 4 жыл бұрын
Sudo install ExplainingComputers...
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
:)
@user-xr3rb6pn9m
@user-xr3rb6pn9m 4 жыл бұрын
You should turn your website into a desktop app and add it to Debian repository to make sure it works :)
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
Sorry to be that guy but `sudo apt install ExplainingComputers`
@weerobot
@weerobot 4 жыл бұрын
@@KingJellyfishII Thanks...lol
@sailaab
@sailaab 4 жыл бұрын
*+Алексей* second that. i've been suggesting that on a couple of videos. or even the less exhausting Patreon type route. but seems Chris Sir is a one many army and with other real life work there's only so much he might be getting time to tidy things up. although it doesn't cost that exorbitantly to get someone to create phone or PC applications.. still it's a cost and ..finding the right people.. who remain invested (mentality) invested.. over 2-3 years to iron things out. .. that's a bit tough. unless we all, those with relevant skills, resources chip in too.
@rickhunt3183
@rickhunt3183 4 жыл бұрын
This is a good basic foundation to the linux terminal command line. Watch this video 10 times. There's a lot of information to take away from this, but Chris is only scratching the surface, and there is so much more you can do.This is where the real magic happens. I would encourage anyone to use only the command line for a week. I learned Unix in the 70's out of a manual before I had access to a computer, so you can learn this too. Linux is very closely related to Unix. If you know one. You pretty much know the other. I don't see a link to a linux tutorial here, but there are many out there on Amazon.
@Reziac
@Reziac 4 жыл бұрын
Really nice introduction -- you have a way of making it seem ordinary and therefore simple for the beginner. Good job. Even tho I'm an old DOS-head, the linux terminal is a different beast, and still snarls at me, so this sort of thing is very useful for getting a handle on it. These simple examples work so much better than instructions.
@markharrisllb
@markharrisllb 2 жыл бұрын
In 21 minutes you’ve explained the basics far better than some videos that are hours long. I wanted to learn Linux because of the terminal and not in spite of it, I used to enjoy using MSDOS and XTree gold when they were real programs.
@thomasherzog86
@thomasherzog86 4 жыл бұрын
extremely helpful for linux starters, excellent video!
@kennyluba4137
@kennyluba4137 4 жыл бұрын
CTL + l (that’s a lowercase L) is also an alternate to typing in the clear command.
@cdl0
@cdl0 4 жыл бұрын
Correct, and to exit the terminal shell, the shortcut is Ctrl-D. The case does not matter for these shortcuts. In days of yore, a terminal was a large, noisy electromechanical machine called a Teletype, the classic model being ASR-33. These machines could only print capital letters.
@cybair9341
@cybair9341 4 жыл бұрын
Kenny Luba - That's the kind of futile detail that Linux users love to throw at newbies. Maybe to create confusion or to brag about their superior knowledge of Linux.
@RandomNullpointer
@RandomNullpointer 4 жыл бұрын
Sadly Ctrl+L (or clear) only scrolls the terminal, and doesn't remove the lines above it from the screen.
@johnm2012
@johnm2012 4 жыл бұрын
@@cybair9341 And your comment is unnecessarily aggressive and so typical of what is seen all over KZbin comments and on social media these days.
@johnm2012
@johnm2012 4 жыл бұрын
@@RandomNullpointer Well, it dates back to the days of teletypes. You can't erase what's printed on paper so to 'clear' it you issue a formfeed to eject the current page of continuous stationery (fan-fold paper) and start at the top of a new page.
@phreakwars
@phreakwars 4 жыл бұрын
Great video. Gave me flashbacks of college back in the 90's. Strange that after all these years I still have all the common Linux commands memorized, but oddly enough, I have forgotten several DOS commands. I blame Windows for being too easy. Love how Linux will keep you on your toes and your mind sharp.
@trubit7372
@trubit7372 4 жыл бұрын
Awesome Video, I learned a lot from it. Thank you :-) Plz expand on this topic, perhaps create a series all the way to the advance commands and shortcuts.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
11:50 It may be instinctive to MS-DOS-experienced users to type “*.*”, but remember such a wildcard will only match names with a dot in them. To match all names, type “*”.
@jgurtz
@jgurtz 4 жыл бұрын
Nice tutorial and I noticed this too! Indeed, the concept of a file extension as a separate "field" of a filename doesn't really exist in Linux at the CLI. It may be a convenience in recognizing the type of data if one makes a name ending in dot-something (or for the gui file manager which maintains application associations). Maybe it's due to this that there is the `file` command which can deduce what kind of file one is seeing even if there is no extension there. Also, while some commands do support --help or maybe -? or -h (linux not always the most consistent!), there is usually more complete help with the man (manual) command. Hopefully viewers are inspired to explore more around the command line!
@encycl07pedia-
@encycl07pedia- 4 жыл бұрын
Yeah, but that will also catch directories.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
@@encycl07pedia- Either one can. Directories can have dots in their names. such as /etc/fonts/conf.d.
@encycl07pedia-
@encycl07pedia- 4 жыл бұрын
@@lawrencedoliveiro9104 Yes, but those are far less common. Who puts dots in their folder names? I mean "rmdir dir" and "rm -rf dir" can both delete directories, but one is considerably safer than the other by default.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
@@encycl07pedia- Rather common, actually, particularly among system directories. On my Debian system, the command find /etc -type d -name \*.\* | wc -l finds 216 of them.
@user-zs8kp4kr6f
@user-zs8kp4kr6f 4 жыл бұрын
Thanks! Everything is simple and useful for beginners :)
@g4r15
@g4r15 4 жыл бұрын
As a new comer in Pi, raspbian and linux environment, this video is very very informative !! thank you ! keep up the good work !!
@harrywoodman2988
@harrywoodman2988 4 жыл бұрын
Thanks! I used to be a Unix user just to run various pieces of equipment around the lab. Now, thanks to the intrusive mandate of all major computer companies I have switched from Windows and Mac to Linux. It's a great refresher and seems much better than the old days ... much appreciated!
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
21:00 One reason for using the terminal is if you switch between distros a lot. Each distro will likely provide its own GUI tools for performing various admin/config tasks, but they will all be different. But behind the scenes, they are all managing the same common config files, system processes etc. In fact, they are very likely generating command-line sequences to perform their actions. So at the command-line layer, a lot of the differences between distros disappear, and you have common ways of performing common tasks.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
A very good point -- I've never thought of this.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
@Paolo G Aye, the old saying “a picture is worth a thousand words” works in both directions. ;)
@9SMTM6
@9SMTM6 4 жыл бұрын
Hmm, there's room for improvement. 1) Copy and paste with the terminal is annoyingly much work, but there's a other way that's usually far quicker and has worked on every Linux distro I've used: Just mark the text, it gets automatically moved into a copy buffer, and then anywhere you press your middle mouse key it gets pasted (I. E. The terminal). 2) like others mentioned `apt` is a distro specific command, that's something you should've mentioned 3) also like others mentioned you could've shown `man [cmd]` too 4) while we're speaking of that, another command I find pretty helpful from time to time is `apropos [keyword]`, that one searches all the documents you get shown with `man` (called manpages). That helps you find a commands name if you can only remember what it does, or if you want to find a new command 4) there's autocomplete, and then there's autocomplete suggestions, which in my setup is called when I press tab twice, that's very helpful if you're writing a long directory and can't remember it precisely 5) also the generic nature of `- - help`, where you can often use it on subcommands like `apt install - - help`
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
I tried here to cover things for beginners; knowing what to leave out is as important as what is included. Not every mouse has a middle button! And doing things with a mouse button click is not good in video, as the viewer cannot see what you are doing.
@deflatedrubberduck
@deflatedrubberduck 4 жыл бұрын
Thank you Samuel, I didn't know about middle mouse key, must remember that one. :)
@cyberp0et
@cyberp0et 3 жыл бұрын
Middle mouse button can be pressing the scroll wheel?
@kiprotichenock5251
@kiprotichenock5251 4 жыл бұрын
Your videos are always Educative. Thanks
@iceman442ho
@iceman442ho 4 жыл бұрын
I switched from Windows 7 to Linux Mint. This will speed up the learning curve a lot! Thanks a million Chris.
@horseradishpower9947
@horseradishpower9947 4 жыл бұрын
Ah, I new taking a look at the site would yeild a new video!
@horseradishpower9947
@horseradishpower9947 4 жыл бұрын
And I just got a notification for this video, and I am five minutes in... KZbin, please don't change... 😂
@clochard4074
@clochard4074 4 жыл бұрын
Last week I took with me the old core2duo pc my grandmother used, since she recently bought a laptop. I installed Mint over Windows 10 (it ran so slowly) with the intention to give it away, but now I'm using it as my main machine: I've been inadvertently converted!
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Great story. Linux can so often revitalize an older PC.
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
That's cool dude! It's amazing how much faster computers can feel with linux.
@derekp2674
@derekp2674 4 жыл бұрын
Thanks Frank. I've also found that many old PC's run horribly slowly with Windows 10 but run much faster with Linux, for example MX or Xfce versions of Mint (etc....).
@benof4635
@benof4635 4 жыл бұрын
I had the same experience with LXLE Linux who works so much faster than Windows 10 on an old Celeron PC.
@derekp2674
@derekp2674 4 жыл бұрын
Chris, thanks very much. As ever, I think you've produced an excellent basic introduction. I expect many of the comments here will add further useful tips and tricks. For example, one thing I use a lot, if I have managed to input an incomplete or incorrect command, is "control-C" to cancel that command.
@LordWillyGee
@LordWillyGee 4 жыл бұрын
Thank Christopher Barnatt, you show me a little more of the problems that I was trying to find on the flash drive? Using Linux. The way you explained terminal was like the early computing day with the MS/PC Dos command prompt/symbol, I learn a little faster now. Ol'd them day 1980-1995 when dos/Basic C, C+ was common. B4 Window point and clicks now! Thanks.
@rustino666
@rustino666 4 жыл бұрын
Great video. I think the terminal scares a lot of potential new Linux users. Nice to see you explain the basics and show that it's not really that scary. I love working in the terminal, you can do so many cool things with it, especially when you get into writing shell scripts.
@tonyelsom6382
@tonyelsom6382 4 жыл бұрын
Same reason I'm using command prompt in Windows(7)..I re-activated my pirate copy this way the last time Microsoft disabled my "genuine" activation.. 😇
@troyforce1
@troyforce1 4 жыл бұрын
Learn Linux now boys. There are veiled whispers speaking of Windows turning into a subscription based service.
@onceagain77
@onceagain77 4 жыл бұрын
Thank you very much for this video. It has shown me useful commands that give me a better understanding on how to navigate a Linux terminal. I hope you do more videos like this.
@JoseLopez-oz1xm
@JoseLopez-oz1xm 4 жыл бұрын
Great Job, as usual, love how you make it so simple.
@rekkanoryo
@rekkanoryo 4 жыл бұрын
The 'cd' command without arguments will also return you to your home directory. The 'clear' command can also be done as Ctrl-L, as well. Handy little shortcuts that turn up over time.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Ah, thanks. I will remember Ctrl-L. :)
@maartenc6099
@maartenc6099 4 жыл бұрын
Liked your video very much. I have worked with MSDOS in the early days. So I am not afraid of the terminal. Maybe you could explain more about sudo and how permissions work. Maybe also try to explain the file-system in Linux. It is not so difficult to copy and paste commands in the terminal. But sometimes on the internet you get a lot of mis-information and then you need some skills to recover. But this is very newbie friendly. Thanks for the nice video.
@laertesl4324
@laertesl4324 4 жыл бұрын
The GUI makes easy things easy, the command line makes difficult things easy. I always have at least one terminal open. Great video!
@ryanlea750
@ryanlea750 2 жыл бұрын
Just found this channel. These videos are so wonderful. Thank you!
@CuteLittleMiku
@CuteLittleMiku 4 жыл бұрын
Thanks, very useful for newbies like me
@MrTrizter
@MrTrizter 4 жыл бұрын
Another helpful option when using ls is to add ”-h” for example: ”ls -lh”. This will give you the list with more ”human readable” numbers for size etc...
@watsoft70
@watsoft70 4 жыл бұрын
[Tab] to autocomplete is a new one for me, thanks! Nice simple introduction, especially for those of us more familiar with MSDos commands.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
Autocomplete is the one thing that makes long file names bearable. ;)
@polymorphism1966
@polymorphism1966 4 жыл бұрын
Thank you Chris as always for teaching us. Really love your videos.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
0:45 Worth also mentioning that there is another terminal emulator, built right into the Linux kernel itself. This offers up to 8 different text consoles, and if you don’t have a GUI running, you will normally see one of these anyway. You can switch between them using CTRL-F1 .. CTRL-F8. If you are already in a GUI, you can suspend it and switch to a text console with CTRL-ALT-F1, CTRL-ALT-F2 etc. (Once you are in a text console, you can leave off the ALT for subsequent switches.) The GUI takes over one of the text consoles, so you switch back to it with the corresponding CTRL-Fn keystroke-for example, CTRL-F7 works on my Debian system.
@encycl07pedia-
@encycl07pedia- 4 жыл бұрын
TTYs aren't emulators, are they? They're actual terminals from my understanding.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
@@encycl07pedia- No, this en.wikipedia.org/wiki/VT100 is an actual terminal.
@ipeters61
@ipeters61 4 жыл бұрын
When I clicked on this video, everything was powers of 2. 2048 views, 256 likes, 2 dislikes.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Spooky . . .
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
It knew that it was about computer stuff LMAO
@SugarBeetMC
@SugarBeetMC 4 жыл бұрын
@@KingJellyfishII Even some commenters are powers of 2!
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
@@SugarBeetMC yeah I wonder who named their channel after their favourite power of two... Lol
@Okurka.
@Okurka. 4 жыл бұрын
I gave your comment the 16th like.
@shamrock1961
@shamrock1961 4 жыл бұрын
As a full-time Linux user I must say thanks for the terminal primer. Got be remind about some of back door stuff via the terminal.
@Giuseppecarusoplus
@Giuseppecarusoplus 3 жыл бұрын
I really love these videos. Very well done and exhaustive. One tip about going back to you home folder: you don't need to actually type the tilde character (~), just type CD and hit return. It will bring you to your home folder anyway. ☺️
@KIPeR97eS
@KIPeR97eS 4 жыл бұрын
2:55 "Nagivation" :D
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
I know . . . :(
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
@@ExplainingComputers ah don't worry about it everyone makes typos
@LarsUmlaut
@LarsUmlaut 3 жыл бұрын
Could have been worse. Vagination...
@ercole1488
@ercole1488 4 жыл бұрын
10:33 you could also do "rm -rf "
@johngoverts4166
@johngoverts4166 4 жыл бұрын
Relatively new to Linux here! Could have done with this video when I started looking into Linux. Thank you!
@RussellStovetop386
@RussellStovetop386 Жыл бұрын
Excellent content. I'm a newer user and greatly appreciate your clear voice and descriptions.
@ExplainingComputers
@ExplainingComputers Жыл бұрын
Awesome, thank you!
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
13:01 Probably a good time to mention another useful feature of tab completion, namely if you type a wildcard spec and then press tab once or twice, Bash will show you all the expansions of that wildcard spec, so you can confirm that your command will be acting on what you thought it would be acting on. Another useful trick is to first use the wildcard with something harmless like an “ls” command, to confirm that it only shows the files you want to affect. Then press uparrow to bring the command back, change the “ls” to “rm”, and turn it loose. Because, you know, having suffered the occasional embarrassment of inadvertent deletion or overwriting of files I didn’t mean to over the years, you learn a few tricks for, shall we say, “defensive command-lining” ...
@strayling1
@strayling1 4 жыл бұрын
Worth it for the Crl-Alt-T shortcut for opening a terminal - thanks. Question: why use "*.*" in your examples? The shell doesn't care about extensions, so just using "*" works.
@Antonio-fl3nr
@Antonio-fl3nr 4 жыл бұрын
This was excelent. The best Beatle is also the best teacher. Thank you very much, Mr. Chris.
@TheBrimurray
@TheBrimurray 4 жыл бұрын
Superb introduction tutorial on the CLI. thanks ExplainingComputers.
@horstschlumma8501
@horstschlumma8501 4 жыл бұрын
Also useful: *man bash* -- an exhaustive but dense [edit: like compact / non-verbose] description of your shells capabilities (I assumed bash here. Run "echo $SHELL" to see what's your shell.) Comes handy when you only have a terminal and no Internet connection. Although, reading the man pages online in a browser is often more comfortable. *alias* to define your personal shortcuts (confession: I still use : alias dir="ls -ltrF". Current distributions already provide a *dir* command nowadays to welcome refugees ;-) You might still want to tweak it as you like.) *less* - it's Windows *more* (but less is still more) to page through long outputs (i.e. "ls -l | less" or "dmesg | less"). When working with terminals have a look at *tmux* and *screen* . These are ultra useful when all you have is a terminal (no GUI at all, i.e. on remote logins). They allow you to have multiple terminal sessions within your single terminal and can even make sessions permanent, so after logging out&in you can continue where you left (assuming no reboot happened in between).
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 жыл бұрын
man bash is the full Bash manual-all 5000 or so lines of it. It’s also available to read online at www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html
Running Windows in Linux: VirtualBox Configuration
21:07
ExplainingComputers
Рет қаралды 301 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 40 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 1,5 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 30 МЛН
Linux Survival Guide #1: Distros & Drives
16:30
ExplainingComputers
Рет қаралды 157 М.
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 218 М.
Beginner's Guide To The Linux Terminal
42:27
DistroTube
Рет қаралды 350 М.
Linux for an Old Laptop
20:58
ExplainingComputers
Рет қаралды 802 М.
Linux Mint Tips & Tricks
17:59
ExplainingComputers
Рет қаралды 173 М.
Linux HATES Me - Daily Driver Challenge Pt.1
21:02
Linus Tech Tips
Рет қаралды 3,6 МЛН
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,3 МЛН
The Rise of Unix. The Seeds of its Fall.
16:51
Asianometry
Рет қаралды 476 М.
CONCURRENCY IS NOT WHAT YOU THINK
16:59
Core Dumped
Рет қаралды 86 М.
Linux Mint 21: The Best Distro. Better.
17:14
ExplainingComputers
Рет қаралды 328 М.
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 2,3 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,5 МЛН
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 248 М.