Linux Command-Line for Beginners: Your First 5 Minutes
About the Video:
A super-basic introduction to the Linux command-line for beginners. I show the basic linux commands in a normal (point-and-click) graphical user interface, and then type out commands which do the same thing in a non-graphical environment ("the shell"). You'll learn:
1. How to see the current directory in the Linux filesystem.
2. How to change directories in Linux (with shortcuts).
3. How to see what's inside a directory.
4. (Bonus: where e-mail addresses came from!)
5. Where 'root' is on the filesystem.
###########################
My step-by-step project-based Linux course for beginners: www.udemy.com/...
Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
DigitalOcean referral link: m.do.co/c/0380...
Patreon: / tutorialinux
Official Site & e-mail list: tutorialinux.com/
Twitter: / tutorialinux
Facebook: / tutorialinux
Podcast: kernelpanicpodc...
Пікірлер: 169
I just started learning Linux and I wanted to say your videos are definitely one of the best ways to learn. It's like learning from a buddy as apposed to some corporate shlock. Your videos say what they need to and are easy to focus on. Thank you.
@NickLeeds
Жыл бұрын
Corporate schlock or corporate schmoe or schmuck
@TBlade471
Жыл бұрын
I agree this is exactly what I was looking for. I'm buying merch at the end just for support! Lol Though I'll rock those at the new position for sure.
Some of us need this basic stuff so thanks for providing it. You were very clear and understandable.
Depending on your working experience, usually when you work in big companies, you will get a company laptop with windows, and in order to connect to the servers and work on them you will be using an ssh terminal, most commonly, Putty. So understanding the command line and being able to do everything by command line is really helpful. Honestly, in 10 years working as a sysadmin, I think I've never seen a GUI for a linux/unix server. Just my five cents.
Hi Dave I finished watching the video, one word mate SUPERB I look forward to many more and hope you maintain your standards, many thanks you are a credit to education.
Loved this video and how he did a side by side with the folders and the terminal. Made it very easy to understand!
hey man you make awesome videos on linux but the major problems that put off first time linux users are : 1. No WIFI drivers on laptop 2. No graphics drivers for games 3. fan blowing at full speed and no temp control pr fan control, hence battery running down even at idle load. If you could do a video about taking care of basic drivers and temp/battery/fan management on laptops it would be super awesome.
@adstub
7 жыл бұрын
Great Point made bro do you know any video where the above things have been explained ???
@punnu5997
7 жыл бұрын
adstub no man. You will have to painfully search solutions in forums, there are no videos I could find.
@GeorgiaBoyJake
7 жыл бұрын
For the first item, Linux Mint has many Wi-fI drivers in the OS, Cause I have installed Mint KDE on MANY laptops and the the internal Wi-fi adapter always works. Not sure about usb Wi-fi adapters. Ubuntu works too!! :) 2nd item, I'm not to sure about onboard video but AMD makes Linux drivers for their video cards!!
@tutoriaLinux
7 жыл бұрын
I also had many of the issues you mention between 2000 and 2010, although I haven't come across them in a while. This channel is really about getting people ready for a career in Linux System Administration, rather than getting a laptop running for everyday users. That's why the focus is on VBox and the command-line right from the beginning - the servers you'll manage don't have GUIs. "Painfully searching for solutions on forums," as one person commented below, is a big part of the job. But they'll be paying you 6 figures to troubleshoot problems which you'll solve the same way as the ones you mentioned above -- so it's good practice :-).
Your first 5 minutes? More like "Useful information that really helps!" Thanks again for sharing all this.
Dave, I just ran across these tutorials, and wanted to thank you. I've tried, off-and-on, to learn Linux, and have learned quite a bit over the years. However, I always get bored learning from books, and videos are definitely the way to go, for me at least. I've just gotten started with your videos, but have jumped around, sampling some of your videos, and I can already tell this is what I'll finally stick with, and learn from the most. Presentation is everything, and your delivery, pace, and concise tutorials are second to none. Thanks again, and *Happy Thanksgiving (2019)!
Thanks for the video. I about died at the end when she called you out for not having accounts XD
Hi I have only watched the first 5 mins of this video and I have learned more than searching and watching umpteen other video for hours. You my friend are one excellent tutor/ teacher. I love the system you are using i.e. Gui/cli but you are doing it at a pace that numpties like me can follow. Most other videos I have tried to follow have text too small and lightning keystrokes most of us oldies and newbies just cannot keep up. There for many of us are disheartened. Once again many thanks and please do not change your teaching philosophy.
Hey Dave nice job man as I new user I appreciate you/them. To all of you people to just like to post negative BS about how he did or didn't make the tutorials to your specification please feel free to create your own series of videos other wise please sit back and have a tall glass of shut the hell up and leave your negative comments out of it. suggestions is one thing but just complaining to complain is not really needed or wanted I'm sure .
first video ive watched on linus. very helpful. subbed and thanks. im learning aws so im working on broad undstanding atm
Brilliant tutorial so far online. Well plantation and well design for entire introduction of Linux even I just watched the first video now. Keep uploading please. I would pay special attention on your channel.
@tutoriaLinux
8 жыл бұрын
+Frank Yu Thanks! There's a whole lot more in this playlist, from the basics all the way up to advanced sysadmin topics: kzread.info/head/PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
this was extremely helpful man. Thank you so much
I have start learning from this course after 8 years of uploading this video
I'm taking your dare.. started at the 1st episode.. I like the series so far. One of my favourite pieces of writing is Neil Stephenson's In the beginning was the command line..lol Thanks for doing this.
GUI = Graphic User Interface = Literally your desktop with a friendly background image and the "Start" button. Directory = In plain everyday english, it's a file or folder.
I wish I would have viewed this video before I had to learn about Linux. Thanks. 😁
great job Dave...I hope the best for you
Im a Windows sysadmin looking atthe linux ones jealously. Great starting point thank you !
This was very helpful, thank you.
Your video goes from installing Ubuntu to having zsh. I think that's probably a bit confusing for new users. Should've stayed on bash.
Thank you for your content its presented very well
It's kind of funny that since I didn't want to faff around with adding virtual 64 bit support to my windows box that I'm watching this on, I instead set up a clean install of linux on one of my laptops and then run SSH through putty with keypair authentication. ...And I still had no idea that the pwd command even existed, I always just used ls. Oh well, the more you know and all that... XD
One of the great tutors, cheers
i'm enjoying your videos right now . thank you for the content
This was super helpful bro =) Thank you so much
HE COMPARES TO GUI ( WHICH IM VERY FAMILIAR)....! VERY HELPFUL ;)
Very helpful you explain very well.
While talking about 'root' (/) explain the difference between GNU/Linux and MSDOS file system: in GNU/Linux there's no such thing as: A:\ B:\ C:\ D:\ and so on... As newbie I have a hard time, finding my CD-ROM drive, USB, whatever (/media/dave/device)
@casperes0912
7 жыл бұрын
/media is also just something Ubuntu and some derivatives (maybe others?) use. Your devices are actually in /dev/ with names like sda (typically your main hard drive) sdb, sdc and so forth. /media is Ubuntu auto-mounting them and placing them there
I remember the days of C64 and Windows 3.1 but I think this is the first time I learned CD stands for Change Directory... -.-
@SharePinPoint
3 жыл бұрын
if you type in cd without parameters , it prints the Current Directory :-) So it may also refer to Current Directory
great video to learn from. Thankyou.
I still call them Directories,from the old days of dos and command line Unix.I wonder if dir ,help ,cd\ and some other commands still work?
At 8:15, use *CTRL-L*
thanks..very very helpful for me
Beginners want to know, how to start a terminal (or program in general): Explain the various methods. 1) Dash-Board 2) Alt+F2 3) Short-cut (how to create a short-cut) 4) start typing a command and hit ENTER.
@jakeambrose4294
8 жыл бұрын
+FreeSoftware go to your search and just click and a terminal option should pop up and click that
This is fun. One more step.
Awesome, Mille thanks!
i learn a lot from your cannel thanks .....thanks a lot very very good .....
@SharePinPoint
3 жыл бұрын
you mean CHANNEL
Hats off to you Boss
I did a tutorial just like this as an extra credit assignment for school
title: Linux Command-Line for Beginners: Your First 5 Minutes video 11:46 minites :P
great content!
Thank you Dave!
I am trying with you but ls desktop does not work, it does not give me all the files you have. and it doesnot open anything in desktop what I have done?
Great video.I am interested to buy your WP course on Udemy and noticed that it was updated in 2018 and was wondering if this course is still has commands and demo that are valid in 2019/2020.
Love it!
thanks
can i follow along with just my macbook terminal? or do i need to install linux on a virtual machine?
@RJ-jc3du
4 жыл бұрын
you need to install linux in some form. I have been using a vps that I purchased but I recommend just installing the virtual machine
Thanks for your explanation. But I have one question for you please why I should use the LINUX. Watch the point for futures may know please. And what else for using too
@danijelvrtaric
5 жыл бұрын
Well if Facebook, Google, Pinterest, Wikipedia, Netflix...actually more of 75% of all internet sites run on Linux. And there are billions od Android devices also (yea they are Linux too). More secure, flexible, modular.... and FREE...just for start :)
superb
The video doesn't explain how you got to the command line. How do we get that ohmyzsh screen?
@tutoriaLinux
8 жыл бұрын
Sorry I missed this question. Hit the ubuntu logo on the top left, or press the windows key. This brings up a search menu. Type in 'terminal' and hit enter or click the icon. I believe one of the previous videos in this series covers it.
thank you
very helpful
I finally got it.
thanks for the effort.
Good Job!
great video
my main supermegabeginner question is: why should i use the command line instead of the GUI way? :-) thank you for the video
@duponin2120
7 жыл бұрын
*Few moments later* Why command line ? because it's more powerful. I mean, you know exactly what you do by choosing arguments, files, etc… You can also see what it respond if there are problems or not. I hope that I've answer to your question.
@mikul3122
5 жыл бұрын
1. Look at gui 2. Right click file 3. That's a lot of operations I can perform! 4. Look up how many commands you could run on that file from a terminal 5. Realize the answer to your question
One day I need to try and find out why everybody is always starting with 'pwd'. Since I retired my old C64 and got my first pc with DOS 3.3 I always had a prompt that told me where I was. I know, the prompt can be configured however you want to show you all the information you want, and if you don't want the prompt to show you the cwd, then it makes sense to know pwd. However, even the prompt in this video shows you where you are (~) and I would dare to say that's pretty much standard, so what's the point to start with pwd? I just think it would make more sense to start with 'ls' and explain what ' ~ ', ' . ', and ' .. ' mean. and then later maybe explain how the prompt can be configured and at that time introduce pwd if the prompt doesn't show you where you are.
Great video!! What is your opinion of using vagrant along with virtualbox to run Ubuntu?
@Tux0xFF
5 жыл бұрын
Thats standard nowadays, that way you dont need to install apache, mysql, composer, etc that way you dont mess with your primary OS, you just ssh into the vagrant box and you have a whole OS to experiment and not only that, you also get a development environment, personally i use the vagrant install guide from the Laravel Homestead official page, that setup is really good for web development and sysadmin
8:13 dave@mylinuxmachine, dave is your user name & is mylinuxmachine your computer name? or super root what ever you call it ? because i would like to change that part of setup, what must i do ?
Excellent video, question though? When attempting to go back up the root (cd ..) can you just not enter cd? It brings you back up right?
@tutoriaLinux
8 жыл бұрын
+Polymath 'cd' (without any arguments) brings you to your current user's home directory. It's the same as saying 'cd ~' or 'cd /home/yourusername'. To get to root, you can just say 'cd /' or keep typing 'cd ..' (the .. is that shortcut for 'up one directory'). Just experiment around and this stuff will become intuitive. Hope that helps!
@SkaNarrator
8 жыл бұрын
Thanks for the quick reply!
"People will stick with driving if they can get cars to work".
Gracias!!
man, i have a Mac OS whit Parallels is great o i should get Virtual Box Machine?
Thanks
Can i use this with any linux distribution? I prefer Antergos.
@tutoriaLinux
5 жыл бұрын
Yes, this is what's underneath all popular Linux distros.
You can also clear the screen with "Ctrl + L". You're welcome.
@kurostaheri-golvrzi8343
6 жыл бұрын
Also, no matter where in the file system you are, you can navigate back to /home/ with just "cd" and that's it.
I've never had this issue before, however when installing ubuntu onto a vm in both VB and VMware Workstation after about 3 minutes into installation it freezes. As in the whole VM freezes up including the spinning loading cursor Icon. I have tried GTS troubleshooting methods however nothing seems to be working. I tried adding a second virtual processor and adding more storage and memory. I have no issues with my Kali Linux VM I just installed through VMware Workstation. Any ideas what the next troubleshooting step I should take on this issue? Maybe a different version of Ubuntu? Thank you in advance for any assistance.
@rlahr2534
4 жыл бұрын
Also I let it sit frozen over night just to see if it was just slow and still at the same screen this morning. Not sure if this matters but I am running it on an I9 9900k EVGA RTX 2070, 32GB RAM, 2TB M.2 Samsung
Learning more here than @ Lynda.com, thank you.
how did u directly go into the shell(bash) directly after the installating the ubantu can u explain that and how to get into the bash
@tutoriaLinux
8 жыл бұрын
Sure! 1. Hit the 'windows' key (or click on the ubuntu logo in the menu) and type in 'terminal.' 2. Launch the terminal application. That's it!
@linuxnoob2009
8 жыл бұрын
You can also use the keyboard short cut Ctrl - Alt - T
cd /home/sairam is my home directory if i dont know my home directory how can i find the home directory name in the real time like in companies if i am in a different directory and how can i exit from the root directory and how to get into the root directory
@tutoriaLinux
8 жыл бұрын
Hey, keep watching and you'll get answers to all those questions -- or just play around in a terminal! :-D 1. Finding your home directory: typing '~' evaluates to "the current user's home directory." So 'cd ~' means "go home, as the user that I'm running this command as." 2. Exiting the root directory: cd /wherever/you/want/to/go/ 3. Getting into the root directory: cd / 4. Getting into the root user's home: cd /root/
awesome
Thx for the very helpful tutorials. Which key you pressed for complete the word? 4:28
@tutoriaLinux
7 жыл бұрын
I'm not sure I understand your question -- at 4:28, I'm saying "Hitting TAB in most shells will get you autocompletion," while demonstrating autocompletion. Could you clarify your question?
would this be the same for Whonix which is Linux based?
@tutoriaLinux
7 жыл бұрын
Yep, these basic commands will work across all Linux distributions and Unix operating systems.
I have a new Telikin computer that won't stop sending me tons of old mail. I've deleted the old mail going back to 02/2020 and the old mail is still coming. All this old email is messing up my links. They won't work. I've asked different sources for help, but none can work with Linux. If I can't get help, I'll be requesting my money back and returning the computer. Is there anywhere I can get help?!
Any chance you could make an Ansible tutorial?
@tutoriaLinux
8 жыл бұрын
Your wish is my command: kzread.info/dash/bejne/mI2Ywa2KoMmoo5s.html -- if you want something more in-depth, I'm also working on a new Udemy course featuring Ansible right now. It should be out in the next month. Enjoy!
nice
The terminal works under the same principle as the program R.
@tutoriaLinux
7 жыл бұрын
Yes, most programming languages have a similar environment, generally called a REPL (read-eval-print loop). We're using bash here, but e.g. in Python you can get there by typing 'python' on the command line, for Ruby it's 'irb', etc. These things are all similar in that text is broken down into valid statements and evaluated, before having some resulting state printed (possibly with side effects).
@Dispatern
7 жыл бұрын
Thanks for the info. I've been into computers since I got my first one (Windows 98) when I was six. Just some time ago I've switched to Linux, using Linux Mint - no Dualboot - as I couldn't control my disliking for Windows 8 anymore. Python and Ruby are for programming, right? Maybe I'm gonna look into that sometime.
Neat!
I use this voice for therapy
WARNING:root:could not open file '/etc/apt/sources.list' No command 'home' found, did you mean: Help..
@tutoriaLinux
7 жыл бұрын
Hey, KZread is the wrong place for these kinds of questions -- try Googling! Better yet experiment around with the command you're trying (not sure what it is) and see what kinds of different results you get.
@wuweimarx1725
7 жыл бұрын
Ok, Thanks.
i cant find email part
Would Mint work the some as Ubuntu?
@tutoriaLinux
7 жыл бұрын
Yes! You can use Mint without any issues (it's Ubuntu underneath).
I began on DOS. How close are Linux commands to DOS? I noticed that CD.. was the same. LST for Linux is DIR for DOS. Getting familiar with command line for me is essential because I want to be able to install Linux on any hardware and distributions often tend to be complicated and not work. I can then build my distribution up to the GUI level as I'm getting drivers to work and it won't be bloated with unnecessary software. I'm constantly re-purposing and trying to avoid throwing away parts.
6:20 Bookmark
ls D - does not print anything for me.
@tutoriaLinux
7 жыл бұрын
'ls D -'? I'm not sure what you mean; which part of the video are you referring to? If you're trying to pass an option to the 'ls' command, you would do it with a dash/hyphen, followed by the letter for the option you want. You can use 'man ls' to see which options are available.
@GiorgiAptsiauriX
7 жыл бұрын
4:40 when the terminal suggests directories
@tutoriaLinux
7 жыл бұрын
You're not getting autocomplete suggestions when you start typing the first few letters of a file or directory that exists in your current location, and then hit TAB a few times?
@NitroNilz
7 жыл бұрын
Giorgi Aptsiauri if you remove the space time should also disappear.
🖖
It`s just great but I`m a little confused cause it`s a Linux tutorial yet U R using Ubuntu, I don get it!
@tutoriaLinux
7 жыл бұрын
Because Ubuntu is the most popular Linux Distribution for beginners!
When your name is Andrew and he says your home directory O.o
hi i do the same thing you did but when im type bash on my terminal it say you should be root how can i fix this?
@jagc2206
8 жыл бұрын
Sudo su Password
@tutoriaLinux
8 жыл бұрын
Depending on whether or not you have sudo installed, putting 'sudo' before your command will execute it as root. E.g. 'sudo bash.' Otherwise you can count on 'su' being on Unix or Linux system, so JAGS' version will always work, provided that (1) There is a root password and (2) you know that password.
@alifatahi7952
8 жыл бұрын
Thanks
@alifatahi7952
8 жыл бұрын
Thank you so much its work now
@jagc2206
8 жыл бұрын
tutoriaLinux sorry but i think he is follwing your tutorial and using ubuntu and not removing random programs or customizing configurations. but yes it does require a password(I used to forget and not set a password)
This is a good video for beginners but I find it a bad choice to use zsh. beginners will get confused by that. You should have kept it at bash.
@tutoriaLinux
6 жыл бұрын
None of this is zsh specific, though, so it'll work no matter what shell you're in. The custom prompt might be distracting though.
Hi how to split graphical file browser from command line ? Thanks
A termimal emulator is NOT the same as the BASH language nor a command line nor a prompt.
Am 9 yrs late do still that useful?
@tutoriaLinux
11 ай бұрын
Not too late -- Linux System Administration is basically the opposite of Javascript development :-D. Moves like a glacier.
hey mate i have subscribed ,i need your help to learn linux
I am Root
ls -a
@tutoriaLinux
5 жыл бұрын
Yep, listing hidden files is like doing ctrl-h (show hidden) in a GUI file manager.
lol oh my zsh