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