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
Woah dude, there's a ping command? That's just like in Minecraft
@uiopuiop3472
4 жыл бұрын
ping pong command
@yeppa31
2 жыл бұрын
Rofl
LMFAO "I'm gonna DDOS 127.0.0.1 to hack Luke's machine man" Best part of the video.
@auronkardek
4 жыл бұрын
Anonymous profile pic add extra comedy
@bernardcrnkovic3769
4 жыл бұрын
@@auronkardek username too
@random7983
4 жыл бұрын
the best part cause it's the only one that u got?
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_
4 жыл бұрын
lol
@0000xFFFF
4 жыл бұрын
jesus you should write a book
@xrafter
4 жыл бұрын
No one want to read this long comment
@sta1nless
4 жыл бұрын
That was really fun to read not gonna lie
@baldoggie
4 жыл бұрын
this comment was made into a video kzread.info/dash/bejne/Z4uum6SkqriXqrw.html
"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
4 жыл бұрын
gae
@DominicGo
4 жыл бұрын
i want this on a xkcd comic lmao
@glowiever
3 жыл бұрын
lol cope seethe
@aliencreation8744
3 жыл бұрын
read half and couldnt stop laughing
9:50 "we forget what operating system we're on" damn that happens to me every day
On Sundays we Kode.
Thanks now I can ping PayPal and steal everyone's money
@JudgeGideon823
3 жыл бұрын
Could have been a zero-day attack if you didn't tell everyone.
@salovamrani2084
2 жыл бұрын
Like in a Russian tvs?
Koding with Kaczynski
@bustingdogarchive4240
3 жыл бұрын
Koding with Kaczynski on Konsole
Just did a tracer t on your website. Your done kiddo.
@ivansakal1224
4 жыл бұрын
_typing noises_ I'm in.
@rickyoswald
4 жыл бұрын
tong is in new york
Interviewer: "Says here your last job was deploying your own VPN service called IP Freely." Mike Oxlong: "Correct."
can you do a one arm pull-up tutorial please
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.
Someone somewhere watching this is probably like: "Whoa dude, why do you have my ip address. You hacking me? "
We need to hire him for our start-up
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
4 жыл бұрын
nvidia's driver has literally a checkbox for that
@arrtemfly
4 жыл бұрын
@@qqqqqqqqqqqqqqq67 ikr, guess why i still made that comment
@MartinKaptein
4 жыл бұрын
compton
@michakurek2945
4 жыл бұрын
@@arrtemfly uneducated scrub here, do you mean the pipeline thingy in nvidia-settings?
@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
The only date format we need is ISO 8601 date -Is
@ugoboom
4 жыл бұрын
based
@knockknockp
4 жыл бұрын
@@ugoboom based
@somerandomchannel2669
Жыл бұрын
based
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!!
Running a mount that's 99% filled? Absolute madman. Also, df -h < findmnt -D | sort -hk5
instead of doing "kill $(pidof mpv)" or something like that you can also just do "pkill mpv"
"I've used sixty-nine eight gigabytes" pardon
3000+ ms of ping?! Do your packets travel to GEO before reaching the server?
@KingJellyfishII
4 жыл бұрын
RFC2549 could be in play there haha
Thank you! These videos are always welcome because I always learn something.
Thank you Luke, I enjoyed your video, appreciate your work
I love the thumbnail, Kode with Klossy
You showed your IP man. Get ready to be canceled.
That was quite helpful, sir. Thank you.
This video is really useful Thanks Lukerino
you can just write "ip a"
@anonymous14
4 жыл бұрын
Thx, i didn't know this.
@uiopuiop3472
4 жыл бұрын
ip addrers shovv is tru
Oh, boy! That's awesome!
Actually I didn't knew about pidof, so thanks! faster to type than "top | grep"
i pissed myself of laughter when I saw that thumbnail on my youtube homepage.
@josephgoebbels1605
4 жыл бұрын
thats hot
I think this was the first useful commands video that actually had useful commands
>macos how the mighty have fallen
@computer-love
4 жыл бұрын
i am Ozymandias, king of all kings, or something like that
@xrafter
4 жыл бұрын
Macos is so delicious you need to try it
@ilsirent9726
4 жыл бұрын
@@xrafter used it for a couple of years. Package managers available for mac are at least not comfortable to use.
@gayusschwulius8490
3 жыл бұрын
Still better than Windows
I appreciate the Not Related teaser. I'm interested in the Hermeticism episode
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.
03:24 Luke: 698? Nah 69 - 8. 👍
Ifconfig got me lolzing
Great & informational CLI video, as always.
I'm happy when people say properly GNU/Linux is OS they use.
Uname is actually made by the GNU foundation. They want you to think it's called GNU/Linux.
That ping though ...
thank you luke
Ur the best teacher about Linux. Uhmm Gnu/Linux. Thanks for that video ♥️
Thumbnail game on point.
oof, all this computer hacking is making me thirsty - i think i'll order a TAB :D
Nobody: Luke: Let's say you forget what operating system you are using
You are a good man
8:08 i felt that
dmesg is another big one you'll get in interviews, at least I have
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.
The last 2 minutes with the memes were so great 🤣🤣🤣
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?
he is gonna make a video on editing streams !! can't wait
like the series
for system info and all, try neofetch
Dude, its the current century!
>dat tumbnail lmaoooooo
Came here from the Latex video, stayed for the Linux & BaSh
i recognize that loopback address see you soon
Gotop is not longer maintained and its development moved to ytop. :D
@jessedarko
4 жыл бұрын
Sam Branisa unfortunately ytop crashes on my machine.
@sambranisa6500
4 жыл бұрын
@@jessedarko I prefer bashtop over ytop.
well you use pidof when you know exactly the process name while you use pgrep if you aren't sure
Dat ping time doe
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.
10:40 Sudden urge to eat something off my foot....
Gotop is actually unmaintained. The developer is now actively writing ytop, which is the same thing written in Rust
Can you do video that goes more in depth on networking? Like the ip-command?
>work/nr/herm Luke finally answering the trap question
Do a video on setting up a personal git server
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.
We need more vid!s🙂🙂🙂🙂
...still genuinely friendly and sincere even to noobs, what.. how.. Am I high?
tanks now i cen hakc in too teh paentagon
Pls do one on how to do keybindings in bash / bourne sh.
11:16 Luke!
Hey thats funny, we have the same IP.
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.
How do I install Skyrim mods for Oblivion under Emacs 19.04 from iTunes?
do a video on optimizing bash scripts
What do you use to get color in your manual pages?
@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'
You got any info on how to get the crypto prices in the top bar?
07:39 *grep* = _general regular expression print_
ip a does the same thing as ip addr and it's easier to write
You can abbreviate even further `ip a`
Damn where's you server located 3s ping :O
look at them pings.... OVER 3000!!!!!!!!!!!!
you are funny pal-)
Damn, 3000 ms
Can you do image previews in 'lf'?
@dhiegov
4 жыл бұрын
No, it's a non-feature, according to the devs: github.com/gokcehan/lf
8:12 Rip camera
This is great. But i'd like some intermediate commands and creating cool scripts and shit.
4:50 Bloat AFFFFFFF Didn't know you got into YUV12 videos, man
The comments are just the best part of the video
why are the files in his home directory in the wheel group?
Have you tried gstreamer instead of ffmpeg? I feel it's much more powerful and interesting tool for video stuff.
@lawrencedoliveiro9104
4 жыл бұрын
How do you do the equivalent of ffprobe?
Make a video about how to record with ffmpeg please
Me running Linux on Plan9 and BSD coreutils : SpAgHeTtI : MoMs GnU : ErAdIcAtEd HoTeL : TrIvAgO
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
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
4 жыл бұрын
"pwd | xclip -selection c"
hmm the title implied, to me, that this is about bash commands rather than system functions but anyway ;)
Why dont you just run "ps aux | grep mpv" to get presses id too
That network latency tho