No video

Bash and the Terminal for Absolute Noobs

  Рет қаралды 66,035

Luke Smith

Luke Smith

4 жыл бұрын

This will be part of a series. I go over the basics of basic shell commands, including key bindings using readline and basic glob matching, options/tags/switches and aliases and the bashrc.
WEBSITE: lukesmith.xyz 🌐❓🔎
DONATE: lukesmith.xyz/... 💰😎👌💯
OR affiliate links to things l use:
www.epik.com/?... Get a cheap and reliable domain name with Epik.
www.vultr.com/... Get a VPS and host a website or server for anything else.
brave.com/luk005 Get the Brave browser.
lbry.tv/$/invi... View my videos on LBRY.
www.coinbase.c... Get crypto-rich on Coinbase.

Пікірлер: 202
@LukeSmithxyz
@LukeSmithxyz 4 жыл бұрын
I mentioned that there's a difference between shell, bash, the terminal, etc. If you want to know what they all mean, I did a video explaining it a bit ago: kzbin.info/www/bejne/nn62c6yse62CqNE
@DanielCsend2adaniel
@DanielCsend2adaniel 4 жыл бұрын
Would love to see a follow up video for new people like me
@MrDCrosswell
@MrDCrosswell 4 жыл бұрын
What's a prompt?
@SpiritualBattle2k
@SpiritualBattle2k 4 жыл бұрын
Some of those commands were very familiar (I used to use DOS when I was a kid)
@finnk1289
@finnk1289 3 жыл бұрын
That's what I thought this video would be, so thanks for the link
@AtomToast
@AtomToast 4 жыл бұрын
Small anecdote: If you ever wondered why ~ means home, that's because on older keyboards the ~ and the "home" key were placed one the same key.
@Artixou
@Artixou 4 жыл бұрын
wew you learn something new everyday
@ndrechtseiter
@ndrechtseiter 4 жыл бұрын
@Вероника Заглотова не ожидал увидеть самого лучшего постера тредшота на видео лысого двм-бумера
@spot1401
@spot1401 3 жыл бұрын
Where should we put the "@" on a german layout keyboard? - What about...... Q!
@Skeleton-wn2zu
@Skeleton-wn2zu 2 жыл бұрын
@@spot1401 Wait, really?
@spot1401
@spot1401 2 жыл бұрын
@@Skeleton-wn2zu AltGr + Q to be precise. en.wikipedia.org/wiki/AltGr_key
@WafflesOinc
@WafflesOinc 4 жыл бұрын
Finally a video that represents me
@redd_cat
@redd_cat 4 жыл бұрын
@@apestogetherstrong341 it was cancelled due to the sweet and sour sickin
@infinitelink
@infinitelink 4 жыл бұрын
That'll do pig.
@davidmouse4486
@davidmouse4486 4 жыл бұрын
18:30 Files *are* overwritten by default in `cp` even without `-f`. The `-n` flag prevents this and the `-i` flag prompts the user, but by default a file *will* be overwritten. A small example: ``` user@host:~/test$ echo "This is file 1" > file1 user@host:~/test$ echo "This is file 2" > file2 user@host:~/test$ cp file1 file2 user@host:~/test$ cat file2 This is file 1 ``` This explanation suggests that you use an alias to make this *your* default behavior, but it certainly isn't the default and doesn't even occur with the additions you made to the `.bashrc` in the video.
@Zaurthur
@Zaurthur 4 жыл бұрын
>says he hates making Linux util videos literally yesterday >Going to make biggest brain content off KZbin >Posts another Linux tutorial on KZbin Absolutely based
@Klayperson
@Klayperson 4 жыл бұрын
Luke: "Linux sucks, I'm tired of doing linux videos" Luke:
@cookiedestroyer402
@cookiedestroyer402 4 жыл бұрын
I actually know quite a bit about Bash and the terminal, I've just be watching Luke vids since 2017 and autistically have to continue. Anyone else?
@lonelybishop6659
@lonelybishop6659 4 жыл бұрын
2:51 I thought using arrow keys was illegal
@zacharytheliar
@zacharytheliar 4 жыл бұрын
only in vim
@tent405
@tent405 4 жыл бұрын
i just put cnoremap q in my vimrc and life has never been better
@SimGunther
@SimGunther 4 жыл бұрын
@@tent405 No macros? Mkay then...
@EffToyz
@EffToyz 4 жыл бұрын
It is, only C-r is allowed.
@markusdottling3556
@markusdottling3556 4 жыл бұрын
ctrl+p and ctrl+n substitute the use of the arrow keys
@keveinkevin4422
@keveinkevin4422 4 жыл бұрын
Shouldve used ubuntu or windows for this video. Normies get scared if it looks different on their screen
@tokiomutex4148
@tokiomutex4148 4 жыл бұрын
Debian has less bloat out of the box.
@keveinkevin4422
@keveinkevin4422 4 жыл бұрын
@@tokiomutex4148 normies love bloat
@tokiomutex4148
@tokiomutex4148 4 жыл бұрын
@@keveinkevin4422 Not all of them.
@heartlessalice5801
@heartlessalice5801 4 жыл бұрын
@@tokiomutex4148 face it if u don't love bloat u are not a normie ^^
@DB-nl9xw
@DB-nl9xw 4 жыл бұрын
More tutorials like this. You are an amazing teacher. Teach us Suckless.
@paulo9523
@paulo9523 4 жыл бұрын
Luke just got from the GNU/Advanced stuff to the basics, is this a side effect from time travelling with vim?
@blackrastafarian
@blackrastafarian 4 жыл бұрын
Meditation my friend, meditation makes people realize how important the basic is. Have you seen how Luke finds Jesus with Linux yet?
@wes2091
@wes2091 4 жыл бұрын
Thanks, Luke. I have been trying to teach my girlfriend the terminal on her Mac for months, but you definitely did a better job of explaining what I was trying to. I am excited for later videos, because she is someone who very much just wants to use her computer, and I noticed the biggest barrier keeping her from learning more is that she doesn't see the benefit of using the terminal for any of her work over just using the GUI. She writes a lot of MATLAB, reads research papers in PDF, and does bookkeeping in Excel.
@bograham6221
@bograham6221 4 жыл бұрын
Since I'm not an absolute noob, I'm looking forward to any follow-up videos. Thanks for helping all the people who wanna get started with the terminal!
@WafflesOinc
@WafflesOinc 4 жыл бұрын
Btw, thank you Luke for spearing some of your time to teach us. I really appreciate it ☺️
@alexradu1921
@alexradu1921 4 жыл бұрын
This doesn't look like a complete begginer video.. but that's why I stayed.. damn I've learned so much even if I knew half of commands. Thank you.
@shashu1999
@shashu1999 4 жыл бұрын
There are hundreds of getting started with bash videos but something new to learn in every one of them
@jorar91
@jorar91 4 жыл бұрын
Thanks Luke, now all of your other videos kind of make sense
@lsatenstein
@lsatenstein 4 жыл бұрын
Hi Luke I have a C use question that you may be interested Consider #include FILE *f; f = stdout; stdout=fopen("SomeRandomFile",w); fprintf(stdout, "this is a line of text "); later fclose (stdout); stdout=f; In other words, programmatically, redirect stdout to point to some file, and if necessary, before exiting, restore stdout. I like this idea better than doing bash redirection some_program >SomeRandomFile; FYI, I will be trying it within a day or so.
@skyworm8006
@skyworm8006 3 жыл бұрын
>up arrow for previous commands i know this one from minecraft
@aj35lightning
@aj35lightning 4 жыл бұрын
thanks for this, been using linux and terminal for probably two years now and still was able to come away with some gaps of my knowledge filled
@sh4rksh4d0vv
@sh4rksh4d0vv 4 жыл бұрын
I already know what's being covered, I just watch 4 Luke
@aceflamez00
@aceflamez00 4 жыл бұрын
Woah luke has a Unix beard now :O
@Aleksandar0100
@Aleksandar0100 4 жыл бұрын
Add this to your .bashrc for maximum comfort. alias mansplain='man' alias please='sudo !!'
@senorstrangelov
@senorstrangelov 4 жыл бұрын
The only command I knew before this video was the up arrow to perform last command. Thank you.
@aengle.
@aengle. 4 жыл бұрын
Very nice Luke, even as a long time GNU/Linux user, I never actually knew about ctrl-l before. I always used to just use clear && [commands]
@Rudyok0001
@Rudyok0001 4 жыл бұрын
I think even for people who know stuff, this kind of videos is helpful too. There are a lot of things that one could take for granted, or just skip it, whatever the reason. There isn't enough educational content on the internet, even when there is. Lol
@kunt230
@kunt230 4 жыл бұрын
Thank you luke, needed this got a laptop yesterday and already pissed at windows so i deleted c disk and just use Linux because vbix crashed all the time . Im a noob so im not very experienced in the terminal emulator and was just signing into firefox and youtube after first - Syu. And this was on the top of my yt page so thanks for making my linux experience a bit more pleasant and my day a bit better.
@user-up2rp6nz5h
@user-up2rp6nz5h 4 жыл бұрын
Congrats for getting off cursed win10! You can check out Proton for games it’s really good, onlyoffice is a nice and simple opensource office suit compatible with ms office, optimus-manager if you have problems with nvidia graphics
@technocrats2360
@technocrats2360 4 жыл бұрын
I have watched a lot of tutorials on KZbin but they just stick to the book and i was looking for this kind of tutorial explaining in deep with shortcuts.Waiting for intermediate and advanced tutorial to.
@akojic5486
@akojic5486 4 жыл бұрын
You can type shell commands in Emacs eshell. Emacs eshell is written all in elisp so you can configure it how you want it.
@davejoubert3349
@davejoubert3349 4 жыл бұрын
Another command useful at this stage is apropos Especially useful if you know the action, but do not know (or have forgotten) the actual command.
@MrDeni23n
@MrDeni23n 3 жыл бұрын
I love that you have these tidbits of useful information. I have just started out using Linux and I've watched quite a few vids, but no one has mentioned the double Tab to show what is in the directory. edited: redundancy
@BCDeshiG
@BCDeshiG 4 жыл бұрын
27:11 NGL I thought you were gonna alias rm to 'rm -rf /' for a second
@obsidiansiriusblackheart
@obsidiansiriusblackheart 4 жыл бұрын
12:20: "No news is good news" Linux philosophy
@sayanghosh6996
@sayanghosh6996 4 жыл бұрын
you can also type "cd - " to go back to the previous directory (not the parent directory, the directory you previously were in, think of it like the back button in a file explorer)
@user-qi2kt8ow5r
@user-qi2kt8ow5r Жыл бұрын
👍
@EverydaySimulations
@EverydaySimulations 4 жыл бұрын
As I’m learning this things, I find it that I’m relying on using the ‘awk’ command quite a bit. I would personally appreciate it if you could make a quick tips and trick video showing how to effectively use it
@pebbles2046
@pebbles2046 4 жыл бұрын
OMFG the Vim Diesel is using goonoo nANo?!?!
@kristiyanivanov7414
@kristiyanivanov7414 2 жыл бұрын
You have the Windows Bliss wallpaper, that's cute. It's a good wallpaper btw.
@GNU_Linux_for_good
@GNU_Linux_for_good Жыл бұрын
29:13 Many beginners want to know - _what commands_ does GNU/Linux actually have implemented, and _how many are they_ ? (because: first of all, I gonna need those command names in order to use *man* ). Well - the completion function comes in handy. Just type the letter *a* and hit *TAB-key* and you'll get an overview of all commands, starting with 'a'. Go down the alphabet, and you get the idea.
@tstrandberg666
@tstrandberg666 4 жыл бұрын
"Sometimes you just wanna delete something."
@ashutoshmisra4
@ashutoshmisra4 3 жыл бұрын
I wanted to try all this on my newly installed linux, so I rebooted my windows. And now I have watched 10s of your videos but windows is still updating. One of the main reasons i switched. Also, for fun.
@JimDragonBass
@JimDragonBass 4 жыл бұрын
26:30 This image is cursed
@mohammedburhan5766
@mohammedburhan5766 4 жыл бұрын
I can see that you have been practicing Pronouncing Asterisk
@RaivoDoc
@RaivoDoc 4 жыл бұрын
Luke seems genuinely noob/normie-friendly here.
@censoredterminalautism4073
@censoredterminalautism4073 4 жыл бұрын
He forgot to teach how to install Linux. If you're a Windows user, just delete system32 and Linux will be installed automatically.
@wilsonjholmes
@wilsonjholmes 4 жыл бұрын
@@censoredterminalautism4073 Yes! Thank you! Will try once I get home from work tonight. /s
@arcade5765
@arcade5765 4 жыл бұрын
@@wilsonjholmes bait?
@joemulhern
@joemulhern 4 жыл бұрын
Usually here for the unaboomer manifesto rants, but love these videos. Would like to see a video going over how to “approach” questions in Linux on your own (reading man pages, deciphering documentation standards) so I don’t have a thousand half-useful stack overflow tabs open again
@mansourq6512
@mansourq6512 4 жыл бұрын
I love your stuff Luke, THUMBS up as usual
@creonte38
@creonte38 4 жыл бұрын
How Nice this vídeo, I say hi to you my friend from Brazil. Thanks for sharing your knowledge with us. You are a really special guy.
@anatolystepanovichdyatlov1747
@anatolystepanovichdyatlov1747 4 жыл бұрын
Fash the Bash
@b1rdy0xf
@b1rdy0xf 4 жыл бұрын
i like the nice Luke.
@keltyll
@keltyll 4 жыл бұрын
great video, looking forward to part 2
@arkadianriver
@arkadianriver 4 жыл бұрын
Well done, as usual! Something I can refer ppl to. I like man -k or apropos to search, too, but with the web these days maybe not as useful as it used to be
@beetx5
@beetx5 4 жыл бұрын
let's be real , you only use the terminal to flex on your normie friends
@HungNguyen-lz5xb
@HungNguyen-lz5xb 4 жыл бұрын
No I'm not. I have no friend.
@Oguzalp97
@Oguzalp97 4 жыл бұрын
@Leif so what you are saying is that autism is your best friend
@vvill-ga
@vvill-ga 4 жыл бұрын
I really did just watch a 31 minute video about stuff I already knew because I thought I was an absolute noob when I wasn't... Now to watch the slightly more advanced video I guess...
@Justanoobcoder
@Justanoobcoder 4 жыл бұрын
26:38 lol I didn't expect to see you use nano like this
@DanielCsend2adaniel
@DanielCsend2adaniel 4 жыл бұрын
Part 2 please ,
@s1ll1m3hu
@s1ll1m3hu 4 жыл бұрын
Please always explain what the commands are short for. Like what ls means and what man is short for. Atleast I remember them a lot better if I can connect the short command to a relevant word.
@glitch3dout
@glitch3dout 4 жыл бұрын
pwd stands for print working directory. ls stands for list. man stands for manual. cd stands for change directory. cp stands for copy. mv stands for move. mkdir stands for make directory. rm stands for remove. rmdir stands for remove directory. touch stands for uhm touch?
@mxhectorvega
@mxhectorvega 4 жыл бұрын
luke, there is a big problem with libxft-bgra it is totally broken in AUR it is impossible to install like libxft-bgra-bin, help! No new installs of the LARBS script will be done without that lib.
@mxhectorvega
@mxhectorvega 4 жыл бұрын
Help
@runclubcity7529
@runclubcity7529 4 жыл бұрын
thankyou luke.
@konstantinosgkoutzis1554
@konstantinosgkoutzis1554 4 жыл бұрын
I like that webcam angle, just short of showing the baldness :^)
@mark123rus
@mark123rus 4 жыл бұрын
Please make more of this!
@AdventureTimeWithAsh
@AdventureTimeWithAsh 4 жыл бұрын
OMG yessss
@craterface12
@craterface12 3 жыл бұрын
This channel is amazing
@testname2166
@testname2166 3 жыл бұрын
The power of Linux is that It's an OS that train the User...
@DrethPlusPlus
@DrethPlusPlus 4 жыл бұрын
As a filthy zoomer, I'm glad you made this video recently decided to learn bash, glad you of all people made this video as my 2 second attention span isn't good enough for other tutorials.
@majorgamerjay5221
@majorgamerjay5221 4 жыл бұрын
5 minutes since it's uploaded, 14th comment, its 2:06 am, video is 30 minutes, video I will watch, trivago is hotel
@ReviewBlogVlog
@ReviewBlogVlog 4 жыл бұрын
Drugs don't do
@ViniciusProvenzano
@ViniciusProvenzano 4 жыл бұрын
How cool is it to teach bash while running Zsh...
@travishopkins6076
@travishopkins6076 4 жыл бұрын
Gardening tutorials when!
@AlY-sn9bz
@AlY-sn9bz 4 жыл бұрын
Thanks Luke!
@puriwatw.1323
@puriwatw.1323 4 жыл бұрын
You should start with teaching how to create files before copy or moving them. Most people might be just like me who just installed the OS and didn't have any files in computer.
@wiredbeats9058
@wiredbeats9058 4 жыл бұрын
windows_bliss.jpg
@pawelskorupski
@pawelskorupski 4 жыл бұрын
Great video.
@censoredterminalautism4073
@censoredterminalautism4073 4 жыл бұрын
Someone only officially becomes a Unix user after forgetting where they are and accidentally nuking their entire home directory with rm -rd *.
@gaonkarprajwal
@gaonkarprajwal 4 жыл бұрын
Luke, How did you get your man pages to display in colour.?
@Justanoobcoder
@Justanoobcoder 4 жыл бұрын
Check out LESS export lines in this file github.com/LukeSmithxyz/voidrice/blob/master/.zprofile
@Sankaritarina89
@Sankaritarina89 4 жыл бұрын
Actually I'm turning on this video to see what luke knows about it haha
@neo778
@neo778 4 жыл бұрын
Since WSL, welcome to Bash in Windows!
@GNU_Linux_for_good
@GNU_Linux_for_good Жыл бұрын
28:35 yeah - except those maniacs who run *emacs*
@ricardonunes709
@ricardonunes709 4 жыл бұрын
next, a video about regex..please! thks
@unh0lys0da16
@unh0lys0da16 4 жыл бұрын
What OS do you recommend for living from the wild?
@kunt230
@kunt230 4 жыл бұрын
Build a mechanical pc in the woods and program your own unix-like kernel and personally let stallman license your newly created os.
@unh0lys0da16
@unh0lys0da16 4 жыл бұрын
@@bashisobsolete.pythonismyn6321 Yeah I'll just stick with Hannah Montana Linux for now, though I have considered switching to Linux for *redacted*
@xdptwin1
@xdptwin1 3 жыл бұрын
where is your wallpaper from. Awesome video thanks.
@ChasingFoodStamps
@ChasingFoodStamps 4 жыл бұрын
THANK YOU SO MUCH
@zyptoskid
@zyptoskid 4 жыл бұрын
based
@limitless1692
@limitless1692 2 жыл бұрын
``` $ rm * ``` Only seeng the 2 characters togheter with an star give me goose bumps! Hhahahah
@turkucpodjadek2347
@turkucpodjadek2347 4 жыл бұрын
cd code cd.. cd.. cd .. ls cd code
@c.deg.7982
@c.deg.7982 4 жыл бұрын
Koding with Karlie will never die.
@faridvicente7783
@faridvicente7783 4 жыл бұрын
finally
@emre5614
@emre5614 4 жыл бұрын
>mfw screencast file's name is `screencast-200604-0835-51.mp4` this luke bloke could really see into the future huh
@BigBahss
@BigBahss 4 жыл бұрын
Great video, I'll be recommending this to a friend, but no sudo???
@adamt4110
@adamt4110 4 жыл бұрын
Terminator: Noobs Day
@illiiilli24601
@illiiilli24601 4 жыл бұрын
Nice, the auto-captions are in Korean
@h.b.5577
@h.b.5577 3 жыл бұрын
Wait how did that happen?!?
@illiiilli24601
@illiiilli24601 3 жыл бұрын
@@h.b.5577 clearly it's because luke is speaks Korean in this video
@obsidiansiriusblackheart
@obsidiansiriusblackheart 4 жыл бұрын
Do a full vid on man (how to follow through links in man, etc)
@stevew270
@stevew270 7 ай бұрын
ls, Let's see. 🙃
@GNU_Linux_for_good
@GNU_Linux_for_good Жыл бұрын
15:34 Hm.. but beware, folks: *regular expressions* is a HUGE topic, that's not in the scope of this video.
@michaelrelly1243
@michaelrelly1243 2 жыл бұрын
My system doesn't have a manual entry for the cd command. why not? I'm curious.
@hibernian87
@hibernian87 4 жыл бұрын
Whats an easy way of cding to a directory you just moved a bunch of pictures to? Just to see if theyre there or process them some more.
@twb0109
@twb0109 4 жыл бұрын
Oh god, I've been removing directories with "rm -rf" for 2 years ._.
@BurgerKingHarkinian
@BurgerKingHarkinian 4 жыл бұрын
Well yeah, so have I. What are you planning to replace it with? rmdir is only for empty dirs after all.
@twb0109
@twb0109 4 жыл бұрын
Yeah, i just noticed, i usually don't remove empty folders tho xd
@MattyFez
@MattyFez 4 жыл бұрын
You should have had the keypress on screen display up
@danil_braun
@danil_braun 3 жыл бұрын
What program do you use to display pressed keys on the screen? Seen in some of your other videos.
@astralchan
@astralchan 4 жыл бұрын
~ is an implementation of the shell (you can check the $SHELL variable) for the current user's home directory. Doing [user@host ~]$ su && echo ~ you can see the directory for the root user. To be independent of the shell, one can just use the $HOME variable for that user. Example: [user@host ~]$ ls $HOME [user@host ~]$ cd $HOME/pix etc. . refers to the current directory. Nice to know if you want to say, add everything in your current directory to a git repo or something. [user@host ~]$ git add . Or, (some shells) execute a file: [user@host ~]$ chmod u+x && ./script.sh
@ryanharp5352
@ryanharp5352 4 жыл бұрын
Based.
@EllaT7935
@EllaT7935 2 жыл бұрын
Why is the only caption option on the video Korean.....
@senninscorpion
@senninscorpion 4 жыл бұрын
At the beginning of the video, you mentioned mac And later you said that if you didn't know what you're using, you're probably using bash I think mac is going to switch (or already did) the default to zsh
@gabrielr9348
@gabrielr9348 4 жыл бұрын
cool
@gabrielr9348
@gabrielr9348 4 жыл бұрын
first I guess
Using Bash and the Terminal to understand files
14:09
Luke Smith
Рет қаралды 61 М.
How to learn to code (quickly and easily!)
11:41
TechLead
Рет қаралды 3,7 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 23 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 6 МЛН
Documentation for developers: A gift to your future self
45:35
Layin' down Pipes like a Unix Chad
10:55
Luke Smith
Рет қаралды 96 М.
Adobe Reader Is LITERALLY Hitler.
11:15
Luke Smith
Рет қаралды 158 М.
AI Will Make (Has Made) the Internet Mediocre...
12:14
Luke Smith
Рет қаралды 59 М.
Difference between CMD, Bash and Powershell!
1:47
PEXT
Рет қаралды 2,8 М.
Suckless's dwm: So easy even a caveman could do it!
12:25
Luke Smith
Рет қаралды 283 М.
Old ThinkPads are Computing Perfection (don't @ me)
13:57
Luke Smith
Рет қаралды 184 М.
How to Move to the Country: Land and Property needed
15:45
Luke Smith
Рет қаралды 82 М.
I WILL NOT GO TO RESTAURANTS IN 2023.
8:21
Luke Smith
Рет қаралды 54 М.
M... MY JOB DEFINES ME!
7:19
Luke Smith
Рет қаралды 99 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН