Bash commands to not look dumb at the Interview...

Ғылым және технология

In this second episode of my basic shell/bash/terminal guide, I show you some basic commands to get system, user, time and hard drive information so you don't look too clueless when you have to figure something out in the terminal.
WEBSITE: lukesmith.xyz 🌐❓🔎
DONATE: lukesmith.xyz/donate 💰😎👌💯
OR affiliate links to things l use:
www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
www.vultr.com/?ref=8384069-6G Get a VPS and host a website or server for anything else.
brave.com/luk005 Get the Brave browser.
lbry.tv/$/invite/@Luke View my videos on LBRY.
www.coinbase.com/join/smith_5to1 Get crypto-rich on Coinbase.

Пікірлер: 248

  • @redd_cat
    @redd_cat4 жыл бұрын

    Woah dude, there's a ping command? That's just like in Minecraft

  • @uiopuiop3472

    @uiopuiop3472

    4 жыл бұрын

    ping pong command

  • @yeppa31

    @yeppa31

    2 жыл бұрын

    Rofl

  • @mockingbird3809
    @mockingbird38094 жыл бұрын

    LMFAO "I'm gonna DDOS 127.0.0.1 to hack Luke's machine man" Best part of the video.

  • @auronkardek

    @auronkardek

    4 жыл бұрын

    Anonymous profile pic add extra comedy

  • @bernardcrnkovic3769

    @bernardcrnkovic3769

    4 жыл бұрын

    @@auronkardek username too

  • @random7983

    @random7983

    4 жыл бұрын

    the best part cause it's the only one that u got?

  • @DrethPlusPlus
    @DrethPlusPlus4 жыл бұрын

    10:36 "I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux." The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows was compiled with gcc, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even you were correct, you wont be for long." With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.

  • @_DT_

    @_DT_

    4 жыл бұрын

    lol

  • @0000xFFFF

    @0000xFFFF

    4 жыл бұрын

    jesus you should write a book

  • @xrafter

    @xrafter

    4 жыл бұрын

    No one want to read this long comment

  • @sta1nless

    @sta1nless

    4 жыл бұрын

    That was really fun to read not gonna lie

  • @baldoggie

    @baldoggie

    4 жыл бұрын

    this comment was made into a video kzread.info/dash/bejne/Z4uum6SkqriXqrw.html

  • @JuriDerCoole
    @JuriDerCoole4 жыл бұрын

    "I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually," he says with a grin, "Linux is just the kernel. you use GNU+Linux." I don't miss a beat and reply with a smirk, "I use alpine, a distro that doesn't include the GNU coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux." The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth as he drop to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "if windows was compiled with gcc, would that make it GNU?" I interrupt his response with "and work is being made on the kernel to make it more compiler-agnostic. Even if you were correct, you won't be for long." With a sickly wheeze, the last of the man's life is ejected from his body. he lies on the floor, cold and limp. I've womansplained him to death.

  • @uiopuiop3472

    @uiopuiop3472

    4 жыл бұрын

    gae

  • @DominicGo

    @DominicGo

    4 жыл бұрын

    i want this on a xkcd comic lmao

  • @glowiever

    @glowiever

    3 жыл бұрын

    lol cope seethe

  • @aliencreation8744

    @aliencreation8744

    3 жыл бұрын

    read half and couldnt stop laughing

  • @slmjkdbtl
    @slmjkdbtl4 жыл бұрын

    9:50 "we forget what operating system we're on" damn that happens to me every day

  • @sw0434
    @sw04344 жыл бұрын

    On Sundays we Kode.

  • @hmagellanlinux307
    @hmagellanlinux3074 жыл бұрын

    Thanks now I can ping PayPal and steal everyone's money

  • @JudgeGideon823

    @JudgeGideon823

    3 жыл бұрын

    Could have been a zero-day attack if you didn't tell everyone.

  • @salovamrani2084

    @salovamrani2084

    2 жыл бұрын

    Like in a Russian tvs?

  • @owenjohns6301
    @owenjohns63014 жыл бұрын

    Koding with Kaczynski

  • @bustingdogarchive4240

    @bustingdogarchive4240

    3 жыл бұрын

    Koding with Kaczynski on Konsole

  • @0ne87
    @0ne874 жыл бұрын

    Just did a tracer t on your website. Your done kiddo.

  • @ivansakal1224

    @ivansakal1224

    4 жыл бұрын

    _typing noises_ I'm in.

  • @rickyoswald

    @rickyoswald

    4 жыл бұрын

    tong is in new york

  • @serratedwarstep
    @serratedwarstep4 жыл бұрын

    Interviewer: "Says here your last job was deploying your own VPN service called IP Freely." Mike Oxlong: "Correct."

  • @LPFan33
    @LPFan334 жыл бұрын

    can you do a one arm pull-up tutorial please

  • @saeedbaig4249
    @saeedbaig42493 жыл бұрын

    No joke, these topics actually came up in an interview I did for a grad role. They wanted to test my Linux knowledge. I thought it was gonna be a breeze since I've been using Linux for years and was no stranger to shell-scripting, but then they asked me questions like "How would you get the remaining space on a hard drive?" (df) and "How do you get all the running processes for the current user?" (ps ax), things I never thought/needed to do in the command-line before. I def would have looked less dumb in that interview had I watched this video first; just goes to show how much I still have to learn about Linux.

  • @jamsky1558
    @jamsky15584 жыл бұрын

    Someone somewhere watching this is probably like: "Whoa dude, why do you have my ip address. You hacking me? "

  • @MrArmand36
    @MrArmand364 жыл бұрын

    We need to hire him for our start-up

  • @arrtemfly
    @arrtemfly4 жыл бұрын

    how to get a job literally anywhere: fix vertical tearing in linux on a machine that runs nvidia p.s. looks like i ain't getting the mf job

  • @qqqqqqqqqqqqqqq67

    @qqqqqqqqqqqqqqq67

    4 жыл бұрын

    nvidia's driver has literally a checkbox for that

  • @arrtemfly

    @arrtemfly

    4 жыл бұрын

    @@qqqqqqqqqqqqqqq67 ikr, guess why i still made that comment

  • @MartinKaptein

    @MartinKaptein

    4 жыл бұрын

    compton

  • @michakurek2945

    @michakurek2945

    4 жыл бұрын

    @@arrtemfly uneducated scrub here, do you mean the pipeline thingy in nvidia-settings?

  • @josephgoebbels1605

    @josephgoebbels1605

    4 жыл бұрын

    installed arch today (i use arch btw) and was pleasantly surprised when i saw no tearing whatsoever (amd gpu) without installing anything at all

  • @bruderdasisteinschwerermangel
    @bruderdasisteinschwerermangel4 жыл бұрын

    The only date format we need is ISO 8601 date -Is

  • @ugoboom

    @ugoboom

    4 жыл бұрын

    based

  • @knockknockp

    @knockknockp

    4 жыл бұрын

    @@ugoboom based

  • @somerandomchannel2669

    @somerandomchannel2669

    Жыл бұрын

    based

  • @strifef7
    @strifef74 жыл бұрын

    Thank you for the n00b friendly content recently. You have a great way of teaching and getting straight to the point. These vids are great!!

  • @tent405
    @tent4054 жыл бұрын

    Running a mount that's 99% filled? Absolute madman. Also, df -h < findmnt -D | sort -hk5

  • @azmiloh3363
    @azmiloh33634 жыл бұрын

    instead of doing "kill $(pidof mpv)" or something like that you can also just do "pkill mpv"

  • @milesrout
    @milesrout4 жыл бұрын

    "I've used sixty-nine eight gigabytes" pardon

  • @arbazna
    @arbazna4 жыл бұрын

    3000+ ms of ping?! Do your packets travel to GEO before reaching the server?

  • @KingJellyfishII

    @KingJellyfishII

    4 жыл бұрын

    RFC2549 could be in play there haha

  • @MaidLucy
    @MaidLucy4 жыл бұрын

    Thank you! These videos are always welcome because I always learn something.

  • @abdullahm..2303
    @abdullahm..23034 жыл бұрын

    Thank you Luke, I enjoyed your video, appreciate your work

  • @pichass9337
    @pichass93374 жыл бұрын

    I love the thumbnail, Kode with Klossy

  • @ethana.838
    @ethana.8384 жыл бұрын

    You showed your IP man. Get ready to be canceled.

  • @GustavoMsTrashCan
    @GustavoMsTrashCan4 жыл бұрын

    That was quite helpful, sir. Thank you.

  • @filipomazic8823
    @filipomazic88234 жыл бұрын

    This video is really useful Thanks Lukerino

  • @punkystone
    @punkystone4 жыл бұрын

    you can just write "ip a"

  • @anonymous14

    @anonymous14

    4 жыл бұрын

    Thx, i didn't know this.

  • @uiopuiop3472

    @uiopuiop3472

    4 жыл бұрын

    ip addrers shovv is tru

  • @vicyoslinuxofficial2607
    @vicyoslinuxofficial26073 жыл бұрын

    Oh, boy! That's awesome!

  • @Vlad-1986
    @Vlad-19864 жыл бұрын

    Actually I didn't knew about pidof, so thanks! faster to type than "top | grep"

  • @anonymous14
    @anonymous144 жыл бұрын

    i pissed myself of laughter when I saw that thumbnail on my youtube homepage.

  • @josephgoebbels1605

    @josephgoebbels1605

    4 жыл бұрын

    thats hot

  • @Oguzalp97
    @Oguzalp974 жыл бұрын

    I think this was the first useful commands video that actually had useful commands

  • @1PercentPure
    @1PercentPure4 жыл бұрын

    >macos how the mighty have fallen

  • @computer-love

    @computer-love

    4 жыл бұрын

    i am Ozymandias, king of all kings, or something like that

  • @xrafter

    @xrafter

    4 жыл бұрын

    Macos is so delicious you need to try it

  • @ilsirent9726

    @ilsirent9726

    4 жыл бұрын

    @@xrafter used it for a couple of years. Package managers available for mac are at least not comfortable to use.

  • @gayusschwulius8490

    @gayusschwulius8490

    3 жыл бұрын

    Still better than Windows

  • @chrisbohn3746
    @chrisbohn37464 жыл бұрын

    I appreciate the Not Related teaser. I'm interested in the Hermeticism episode

  • @Ace-hg3vx
    @Ace-hg3vx4 жыл бұрын

    I find your tutorials very easy to learn. Do you have any Linux 101 videos? Like I'm talking absolute beginners, even more beginner friendly than just commands. Possibly why people use linux, what you can do on it, and just anything you think people with zero knowledge should know.

  • @gaonkarprajwal
    @gaonkarprajwal4 жыл бұрын

    03:24 Luke: 698? Nah 69 - 8. 👍

  • @A_scope
    @A_scope3 жыл бұрын

    Ifconfig got me lolzing

  • @atps
    @atps4 жыл бұрын

    Great & informational CLI video, as always.

  • @akojic5486
    @akojic54864 жыл бұрын

    I'm happy when people say properly GNU/Linux is OS they use.

  • @frisosmit8920
    @frisosmit89204 жыл бұрын

    Uname is actually made by the GNU foundation. They want you to think it's called GNU/Linux.

  • @KubrickFR
    @KubrickFR4 жыл бұрын

    That ping though ...

  • @spartan1o5
    @spartan1o54 жыл бұрын

    thank you luke

  • @yeppa31
    @yeppa312 жыл бұрын

    Ur the best teacher about Linux. Uhmm Gnu/Linux. Thanks for that video ♥️

  • @rolfingbomb
    @rolfingbomb4 жыл бұрын

    Thumbnail game on point.

  • @Gundre82
    @Gundre824 жыл бұрын

    oof, all this computer hacking is making me thirsty - i think i'll order a TAB :D

  • @igaurab
    @igaurab4 жыл бұрын

    Nobody: Luke: Let's say you forget what operating system you are using

  • @albertm.3081
    @albertm.30814 жыл бұрын

    You are a good man

  • @roi12555
    @roi125554 жыл бұрын

    8:08 i felt that

  • @jerodburnett6422
    @jerodburnett64224 жыл бұрын

    dmesg is another big one you'll get in interviews, at least I have

  • @dancorvalan3205
    @dancorvalan32055 ай бұрын

    Interview? Is it possible to use Linux/UNIX all day everyday and get paid for doing so? What r those jobs? Now seriously, what positions can i use my bash scripting skills? Salute to my fellow Linux addict peers. Heres one of my fav commands: yt-dlp -F ^-F^-f 137+140^ ---> repeats the prev command replacing desired segment with a different one, in this case after checking the available resolutions of the video i repeat that command with the desired res i chose to download. So useful.

  • @ahmedalgriany4063
    @ahmedalgriany40634 жыл бұрын

    The last 2 minutes with the memes were so great 🤣🤣🤣

  • @axpanos
    @axpanos4 жыл бұрын

    Luke what advice would you give to a guy used to work with xfce and wanting to try out dwm, is there a way to make the transition to a tiling wm more smooth?

  • @ibrahim1ibrahim2
    @ibrahim1ibrahim24 жыл бұрын

    he is gonna make a video on editing streams !! can't wait

  • @dmbrv
    @dmbrv4 жыл бұрын

    like the series

  • @peepleep7931
    @peepleep79314 жыл бұрын

    for system info and all, try neofetch

  • @anatolystepanovichdyatlov1747
    @anatolystepanovichdyatlov17474 жыл бұрын

    Dude, its the current century!

  • @omerresnikoff3565
    @omerresnikoff35654 жыл бұрын

    >dat tumbnail lmaoooooo

  • @Tntpker
    @Tntpker4 жыл бұрын

    Came here from the Latex video, stayed for the Linux & BaSh

  • @lazur188
    @lazur1883 жыл бұрын

    i recognize that loopback address see you soon

  • @sambranisa6500
    @sambranisa65004 жыл бұрын

    Gotop is not longer maintained and its development moved to ytop. :D

  • @jessedarko

    @jessedarko

    4 жыл бұрын

    Sam Branisa unfortunately ytop crashes on my machine.

  • @sambranisa6500

    @sambranisa6500

    4 жыл бұрын

    @@jessedarko I prefer bashtop over ytop.

  • @veryown8084
    @veryown80844 жыл бұрын

    well you use pidof when you know exactly the process name while you use pgrep if you aren't sure

  • @KingJellyfishII
    @KingJellyfishII4 жыл бұрын

    Dat ping time doe

  • @cjchico
    @cjchico3 жыл бұрын

    What package do u have installed to use the "man" command? I have arch and kde (vanilla install) and "man" isn't a recognized command.

  • @Microtonal_Cats
    @Microtonal_Cats3 жыл бұрын

    10:40 Sudden urge to eat something off my foot....

  • @arial7
    @arial74 жыл бұрын

    Gotop is actually unmaintained. The developer is now actively writing ytop, which is the same thing written in Rust

  • @CrazyMineCuber
    @CrazyMineCuber4 жыл бұрын

    Can you do video that goes more in depth on networking? Like the ip-command?

  • @chadthunder6915
    @chadthunder69154 жыл бұрын

    >work/nr/herm Luke finally answering the trap question

  • @theohenson7283
    @theohenson72834 жыл бұрын

    Do a video on setting up a personal git server

  • @cmatthew91
    @cmatthew914 жыл бұрын

    I am a devops engineer for a pretty cool company in Europe, I don't really know much more than that, I just use google.

  • @workdomain9904
    @workdomain9904 Жыл бұрын

    We need more vid!s🙂🙂🙂🙂

  • @RaivoDoc
    @RaivoDoc4 жыл бұрын

    ...still genuinely friendly and sincere even to noobs, what.. how.. Am I high?

  • @s_aku
    @s_aku2 жыл бұрын

    tanks now i cen hakc in too teh paentagon

  • @KutAnimus
    @KutAnimus4 жыл бұрын

    Pls do one on how to do keybindings in bash / bourne sh.

  • @santaclaus9113
    @santaclaus91134 жыл бұрын

    11:16 Luke!

  • @liquidpromo
    @liquidpromo3 жыл бұрын

    Hey thats funny, we have the same IP.

  • @Klayperson
    @Klayperson4 жыл бұрын

    since this video is for noobs protip: if you wanna know your PUBLIC ip address, you have to ask an external web server who you are you can use any one of these four commands: curl -Ss ifconfig.co curl -Ss ifconfig.me curl -Ss ipecho.net/plain dig +short myip.opendns.com @resolver1.opendns.com the reason you have to ask a web server what your external public IP address is is because that's the exit point from your ISP to the outside world. Your computer doesn't know where your ISP is gonna pipe your internet signal out from, so you have to send a request out from that pipe and ask some other machine out in the world "who am i?" and they will tell you, because they can see where your request came from. that information is *always* visible to whatever web server or computer you interact with. and usually your ISP only gives you 1 external IP address, so you can get identified with it. If you want to hide your IP address, the only way is to bounce your requests through another server before it gets to the destination, which then sees the IP address of the middle-man, but not YOUR ip (but the middleman sees your IP). a VPN is such a middleman. but what's even better than a VPN (and free!) is Tor, which not only bounces your traffic around, but does it *three times, and also encrypts* your traffic every step of the way, so that practically nobody can tell where tf you are coming from.

  • @deldrinov
    @deldrinov4 жыл бұрын

    How do I install Skyrim mods for Oblivion under Emacs 19.04 from iTunes?

  • @nivaddoniv8363
    @nivaddoniv83634 жыл бұрын

    do a video on optimizing bash scripts

  • @AvindraGoolcharan
    @AvindraGoolcharan4 жыл бұрын

    What do you use to get color in your manual pages?

  • @S0ra-

    @S0ra-

    2 жыл бұрын

    Hey, it's been a year, but are you still looking for it? If you do, just place the following in your shellrc If not, it will be useful to someone, probably export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;32m' export LESS_TERMCAP_me=$'\e[0m' export LESS_TERMCAP_se=$'\e[0m' export LESS_TERMCAP_so=$'\e[01;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m'

  • @getblowd407
    @getblowd4072 жыл бұрын

    You got any info on how to get the crypto prices in the top bar?

  • @GNU_Linux_for_good
    @GNU_Linux_for_good Жыл бұрын

    07:39 *grep* = _general regular expression print_

  • @tokiomutex4148
    @tokiomutex41484 жыл бұрын

    ip a does the same thing as ip addr and it's easier to write

  • @rmpr3933
    @rmpr39334 жыл бұрын

    You can abbreviate even further `ip a`

  • @conorlburns
    @conorlburns4 жыл бұрын

    Damn where's you server located 3s ping :O

  • @Charsh392
    @Charsh3924 жыл бұрын

    look at them pings.... OVER 3000!!!!!!!!!!!!

  • @maksimtarakanov3814
    @maksimtarakanov38143 жыл бұрын

    you are funny pal-)

  • @djkjfewjfbeojw
    @djkjfewjfbeojw4 жыл бұрын

    Damn, 3000 ms

  • @DonEdward
    @DonEdward4 жыл бұрын

    Can you do image previews in 'lf'?

  • @dhiegov

    @dhiegov

    4 жыл бұрын

    No, it's a non-feature, according to the devs: github.com/gokcehan/lf

  • @xrafter
    @xrafter4 жыл бұрын

    8:12 Rip camera

  • @TheJohnniePlays
    @TheJohnniePlays4 жыл бұрын

    This is great. But i'd like some intermediate commands and creating cool scripts and shit.

  • @donnaken15
    @donnaken154 жыл бұрын

    4:50 Bloat AFFFFFFF Didn't know you got into YUV12 videos, man

  • @linur8501
    @linur85014 жыл бұрын

    The comments are just the best part of the video

  • @nothanks5531
    @nothanks55314 жыл бұрын

    why are the files in his home directory in the wheel group?

  • @Bloodthirstman
    @Bloodthirstman4 жыл бұрын

    Have you tried gstreamer instead of ffmpeg? I feel it's much more powerful and interesting tool for video stuff.

  • @lawrencedoliveiro9104

    @lawrencedoliveiro9104

    4 жыл бұрын

    How do you do the equivalent of ffprobe?

  • @andrewenrique5503
    @andrewenrique55034 жыл бұрын

    Make a video about how to record with ffmpeg please

  • @ocsanik502
    @ocsanik5022 жыл бұрын

    Me running Linux on Plan9 and BSD coreutils : SpAgHeTtI : MoMs GnU : ErAdIcAtEd HoTeL : TrIvAgO

  • @Usertrappedindatabase
    @Usertrappedindatabase4 жыл бұрын

    Is there any simple way to: pwd to clipboard. I just wanna print my working directory and copy it quickly so I can paste it without having to use my mouse and scroll over it, also could be useful for scripts? Thanks papa Luke

  • @leonstok8940

    @leonstok8940

    4 жыл бұрын

    pwd | xclip -selection c You can put alias cpwd="pwd | xclip -selection c" in your .bashrc so you could just type cpwd and it will copy to clipboard.

  • @jasongoulet-lipman7308

    @jasongoulet-lipman7308

    4 жыл бұрын

    "pwd | xclip -selection c"

  • @marcello4258
    @marcello42583 жыл бұрын

    hmm the title implied, to me, that this is about bash commands rather than system functions but anyway ;)

  • @MrMARKSTUDIO
    @MrMARKSTUDIO4 жыл бұрын

    Why dont you just run "ps aux | grep mpv" to get presses id too

  • @fabricio5p
    @fabricio5p4 жыл бұрын

    That network latency tho

Келесі