Top 10 Linux Job Interview Questions

  Рет қаралды 2,373,760

tutoriaLinux

tutoriaLinux

Күн бұрын

Can you answer the 10 most popular Linux tech job interview questions?
Buy the book (The Software Developer's Guide to Linux): packt.link/7f0mW
Use the Amazon code 20DAVID for 20% off.
Create a DigitalOcean account and get free credits when you spend $25: m.do.co/c/0380a1db56a6
0:00 Introduction
0:53 Tech Phone screens
1:50 How to check the kernel version of a Linux system?
2:50 How to see the current IP address on Linux?
4:03 How to check for free disk space in Linux?
4:55 How to see if a Linux service is running?
6:33 How to check the size of a directory in Linux?
7:02 How to check for open ports in Linux?
9:48 How to check Linux process information (CPU usage, memory, user information, etc.)?
11:49 How to deal with mounts in Linux
13:51 Man pages
15:04 Other resources
How to ask questions the smart way: catb.org/~esr/faqs/smart-quest...
This is a list of the most common Linux System Administration Job Interview Questions. These questions are commonly used as 'filters' in a phone screen or first-round interview. Make sure you know all the answers, and the reasoning behind them!
This video only covers Linux-related interview questions; the position you're interviewing for might involve other technologies, too:
-databases (or a specific database)
-networking
-programming, or a specific language
-infrastructure / architecture
-specific applications or services
-AWS, Google Cloud
More Linux Tutorials
###############
My step-by-step project-based Linux course for beginners: www.udemy.com/course/hands-on...
Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
Patreon: / tutorialinux
Official Site & e-mail list: tutorialinux.com/
Twitter: / tutorialinux
Facebook: / tutorialinux
Podcast: kernelpanicpodcast.com

Пікірлер: 1 400
@GrandpasPlace
@GrandpasPlace 6 жыл бұрын
I find it funny that with 28 years of linux experience, 25 as a professional linux admin/engineer I still get asked some of those questions. Though the funnest one I have had was an interview a few years ago. I was asked how I would stop an HA pair that when booted was caught in a boot loop. System A boots and forces system B to reboot, then system B forces system A to reboot, etc. I asked which version of Linux they were running and the Tech responded with RHEL 5.5 I let them know that there is a bug in 5.5's init setup. On a default install the ntpd service starts after the HA services. That time jump causes it to fence the other host and reboot it. You can fix it by changing the ntpd service to start before the HA services. Next thing I know, I hear lots of typing and the tech says "Holy cow, he's right" The manager then tells him to get the change notices in so they can fix the issue once and for all. I asked when I could start and was told they had other to interview and would be in touch. 6 years, Im still waiting to hear from them. lol They never contacted me and never responded to emails after the phone interview. It just reinforces the old adage, if you know what is wrong dont give them the solution!
@TheDanielLivingston
@TheDanielLivingston 6 жыл бұрын
Grandpa's Place Whoa. How the hell weren’t you hired on the spot? Clearly you had more domain knowledge than any of their staff!
@LegendaryZ0NE
@LegendaryZ0NE 6 жыл бұрын
Daniel Livingston Probably the Guy on which he was speaking to, just gave himself the originality of credit .. (he said that it was his idea).Said to hear that OP got fooled
@Albert-fe8jx
@Albert-fe8jx 5 жыл бұрын
Integrity isn't dead, but some organizations work hard to kill it. Consider it a gift from God that you didn't get the job in that snake den. Thank you for sharing the tech tidbit and retrospect.
@jaakkooksa5374
@jaakkooksa5374 5 жыл бұрын
Grandpa's Place "with 28 years of linux experience" I believe Linux was first released in late 1991. You must be from the future.
@jaakkooksa5374
@jaakkooksa5374 5 жыл бұрын
Grandpa's Place Ok :-)
@GothicKin
@GothicKin 4 жыл бұрын
Just watching this to get better at home use xD
@jaqian
@jaqian 3 жыл бұрын
Same
@jonasschitt6864
@jonasschitt6864 3 жыл бұрын
Same
@mandeepmails
@mandeepmails 3 жыл бұрын
Same
@GothicKin
@GothicKin 3 жыл бұрын
@Unbekannt I nouveau r heard this pun
@sashimisub8536
@sashimisub8536 3 жыл бұрын
Linux noob here
@peepers471
@peepers471 Жыл бұрын
Dropping a comment to let anyone who is watching this in 2022 that this is very good information. Just had a tech screen today which asked 6/9 of these questions.
@johnmadsen37
@johnmadsen37 5 жыл бұрын
I usually check with my fingers. If one goes in, the port is open.
@ftsmallwood
@ftsmallwood 5 жыл бұрын
That is not linux which you are thinking aboujt.
@HK-sw3vi
@HK-sw3vi 5 жыл бұрын
and if you get a shock then you know the port is up and running
@bibaboba2d
@bibaboba2d 5 жыл бұрын
good one. you will got the job, instantly.
@scottfranco1962
@scottfranco1962 5 жыл бұрын
Funny. Security will show you out.
@contort69
@contort69 5 жыл бұрын
netstat tulip works for me :) ..my wife is Dutch
@r6u356une56ney
@r6u356une56ney 3 жыл бұрын
I've been a linux admin for 20+ years (originally as my actual job, for the last ten years purely for my personal stuff) and saw this video and watched it on a lark. I honestly expected some cringeworthy content - but was pleasantly surprised to find that it was all good basic info, presented fairly well (obviously VERY basic, but given its target audience that's fair). I would add only one thing, to the "listening network sockets" question: lsof -i can often be more useful and easier to use than netstat.
@iansmith3301
@iansmith3301 2 жыл бұрын
I think lsof -i is better as well since it's compatible with Unix and Linux. netstat -tulpn does not work on Macs.
@samclarke8724
@samclarke8724 6 жыл бұрын
I always remembered netstat - tulpn as netstat -tells u lotsa port numbers . I mean totally beside the point but who doesnt love fun anagrams
@hesherson
@hesherson 5 жыл бұрын
I like this. I will use this. Thanks buddy!
@carlosgarza31
@carlosgarza31 5 жыл бұрын
I know a system admin that always type in "netstat -plant" or "netstat -plantu". I have muscle memory to always use "netstat -natpl". And I always use "ls -alF" via muscle memory.
@m0rpheus_red
@m0rpheus_red 5 жыл бұрын
i just type netstat -tulpan because "tulpan" is actual word that one can easy remember
@kermitdafrog8
@kermitdafrog8 5 жыл бұрын
You could always run nmap. It'll tell you open ports on yours and other systems.
@RightNow978
@RightNow978 5 жыл бұрын
ty
@sebvieira
@sebvieira 4 жыл бұрын
I was once asked to write, on a blackboard, a firewall rule using iptables, as part of the job interview. Was a very pleasant interview, because I totally didn't expect these kind of questions and it shows what kind of employer you're going to get. It did however inspire me years later to create a 'broken' Linux system and have new colleagues try to fix as many problems as they could, in a specific amount of time. It tells a lot about the person. Not many people can fix "the chmod binary is set to non-executable" problem without resorting to Google for the answer.
@nono_ct200
@nono_ct200 5 ай бұрын
I've looked it up, thanks for sharing such things, the easiest way I found was to copy another executable file to the original file as this will inherit the +x flags.
@macethorns1168
@macethorns1168 4 ай бұрын
I'd bet that even fewer people know how to set the various permission flags independently and separately for each user.
@scoreunder
@scoreunder 4 жыл бұрын
From one sysadmin to another: Kudos on showing the modern equivalent to these commands! I feel like a lot of tutorials cover only the old way of doing things, which is quickly going out of style on recent linux distributions. There is one I would like to add: "ss" seems to be replacing "netstat" nowadays, though the syntax is very similar ("ss -tulpn" works as you would expect).
@reedyseth
@reedyseth 5 жыл бұрын
Thanks a lot Dave for these super videos. I went through all of them in the "The Linux Basics Course: Beginner to Sysadmin, Step by Step" playlist and you rock !! I Learned a lot more to move in the Linux world as a Sysadmin. Thanks again !!
@kuba2ve
@kuba2ve 5 жыл бұрын
Recommended book: "How Linux Works. What every superuser should know" by Brian Ward
@josephcagle
@josephcagle 3 жыл бұрын
It's the best.
@abstractapproach634
@abstractapproach634 2 жыл бұрын
Is it open source?
@TimTeatro
@TimTeatro 7 жыл бұрын
I'm just a home user, and I got all of them. That's a nice ego boost.
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
Nice! My kind of user :-D.
@demochannel6146
@demochannel6146 7 жыл бұрын
i got 2/3 out of 10 and considered myself pretty good at it. lol
@abhishtagatya
@abhishtagatya 6 жыл бұрын
lol same here
@BambooBurglar
@BambooBurglar 6 жыл бұрын
Tim Teatro same lmao
@Rainaman-
@Rainaman- 6 жыл бұрын
Same here. If someone can`t pass this with education they chose, then they deserve to flip burgers for rest of their life.
@WDCallahan
@WDCallahan 3 жыл бұрын
Professional Enterprise Linux instructor here. I watch videos like this mostly for laughs because they usually feature someone who is trying desperately to make up for lack of true understanding with confidence. I kept waiting for you to say something stupid or completely wrong, but it never happened. You answered every question almost exactly like I would have. If it's worth anything to you, you've definitely got my seal of approval!
@ciscornBIG
@ciscornBIG 2 жыл бұрын
I wish so many computer people weren't like you.
@carltonwhite2702
@carltonwhite2702 2 жыл бұрын
@@ciscornBIG yeah, guy sound like a prick.
@Time4Technology
@Time4Technology 7 жыл бұрын
In an interview you should begin the answers with something like "I would do it with ...." because there are multiple ways do do stuff on Linux and it will show the interview partner that you're aware of that ;)
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
This is good advice; thanks!
@vertigo6982
@vertigo6982 5 жыл бұрын
Hey same goes for a c++ job.
@SlickBlackCadillac
@SlickBlackCadillac 5 жыл бұрын
Did this. It didn't work for me. Asshole asked the dumbest questions. He didn't ask any of these!!
@inzernadeem443
@inzernadeem443 2 жыл бұрын
@@SlickBlackCadillac can you share what he asked from you?
@seanmichalek9830
@seanmichalek9830 5 жыл бұрын
Tutorial Linux, I just want to thank you from the bottom of my heart as a 2nd year transferring to another school as a first. I could hardly grasp shells and grep, most specifically assigning access for different users/groups. I really appreciate the head start that you give guys like us who want to find a passion for networking. And I'm not going to lie the language barrier was really killing me, I can work with what I got but your voice sounds like angelic hz
@UGKAST
@UGKAST 6 жыл бұрын
I had to use Linux in some of my courses and I learned more conceptually from this video than any of my professors. I understood everything you covered and then some, but the way you explained it filled in little gaps in my knowledge. I never knew "htop" was a thing. Just top haha. You got yourself a sub.
@soamesphares
@soamesphares 4 жыл бұрын
Only yesterday I was asked #1 question on the interview...keep doing what you doing...it helps a lot of people out there.
@michelangelop3923
@michelangelop3923 3 жыл бұрын
I watched this video before some months, I didn't knew most of the staff, after 6 months of reading and experimenting with vms I know almost all the answers, great video!
@sysghost
@sysghost 7 жыл бұрын
I'm an advanced linux user and administrator. Using linux both with my work and full time on my private computers (I've ditched Windows and Mac OS X completely). I already knew the answer on all those questions. It is a well done video, bringing up the basic questions one would actually asked in a linux job interview. One thing to be prepared for, in such an interview, is to be ready to answer "I don't know ...". Some ask tricky questions that is hard to answer without knowing the companies computer/servers in detail at first. Questions only a person hired at the company would know. They ask these kind of questions to see if one is capable of a "I don't know. Let me find out.", or if one is more like a person who tries to blab on about things one don't know anything about.
@mipmipmipmipmip
@mipmipmipmipmip 7 жыл бұрын
SysGhost And combine it with counter questions. A user or dev question will usually start like "[software X / server Y ] doesn't work" and you need to dig from there to the source of the issue.
@vertigo6982
@vertigo6982 5 жыл бұрын
When you get those question you can never go wrong with the simple reply "a hammer"
@carlosgarza31
@carlosgarza31 5 жыл бұрын
Your interviewer will not like an I don't know answer as to them that sounds like your just giving up. They want to know what you would do to try to trouble shoot the issue. For example start asking them if the servers are on the same local network or across a router and verify if the routing tables are jacked up etc. They want to know what your ability to troubleshoot and solve problems not drill you for rote knowledge,
@ewenchan1239
@ewenchan1239 5 жыл бұрын
@@carlosgarza31 That depends. I think that it is a completely false notion that people expect you to know everything (because the reality is you can't know everything, although that shouldn't stop you from trying), and if someone EXPECTS you to know everything (again, depending on what it is), then I'm not so sure that I would want to work for that person or that company. Either they should be creating an environment from which you can grow and learn (and invest in you as a human resource) or they're expecting to treat you like a trained monkey and ONLY do what they tell you to do and nothing more/nothing less. Yes, there are basic aspects, and even some intermediate aspects to a person apply for a job, but I usually will ask someone a tough, challenging question, preferably something that they haven't seen or dealt with before, because I'm looking to assess their problem solving skills, not how well they can memorize stuff and ONLY execute the stuff they've memorized. If all you're doing is like basically the human version of a digital janitor where all you're doing is just cleaning up someone else's stuff, then fine. But if I want you to actively be able to solve problems - both foreseeable and those that were unforeseen, then your memorized scripts and procedures may not work and I need people who can solve problems AS well as being a "digital janitor". (Heck, a "smart" digital janitor would automate the job for themselves so that they can do other things that they want to do.)
@ewenchan1239
@ewenchan1239 5 жыл бұрын
Linux is AWESOME!!!! ....when it works.
@bdf2718
@bdf2718 7 жыл бұрын
Sometimes useful for when you don't know what commands are associated with what you're trying to do is "man -k whatever". What you're looking for may not be there, and if it is then there will probably be also all sorts of other stuff that isn't what you're looking for, but sometimes it pays off. I tend to use it before resorting to google, simply it's easier to wade through the results. If your - key is broken, "apropos" is a synonym for "man -k". Which, of course, you knew because the first thing you do with man is "man man" :)
@suzykim4035
@suzykim4035 7 жыл бұрын
you make this so much easier to understand and very clear. thanks so much
@Nicholas108108
@Nicholas108108 7 жыл бұрын
Instant fan. Practical. To the point. Well explained. And I'm able to follow along in my terminal without pausing. Good stuff.
@shoyugod
@shoyugod 7 жыл бұрын
.
@leonk6950
@leonk6950 5 жыл бұрын
I don't care about the questions, but the little idea of putting my name into config files I chanced to be sure to find every single on when migrating might just have changed my life!
@fragdeinpferd8022
@fragdeinpferd8022 4 жыл бұрын
I learned that the hard way ;D
@nicoarteaga4430
@nicoarteaga4430 4 жыл бұрын
What do you exactly mean?
@ordinaryperson2672
@ordinaryperson2672 4 жыл бұрын
I've switch to have a version control on config files, rcs, svn, git or whatever
@benbcnz1
@benbcnz1 6 жыл бұрын
I'm a big fan of putting time stamps in the description for each topic. Thanks, and nice work!
@tutoriaLinux
@tutoriaLinux 6 жыл бұрын
Thanks. Gotta start doing that again; it's super time consuming but I'm glad someone's using that feature :-D.
@Bare_Essence
@Bare_Essence 6 жыл бұрын
Novice Linux user playing with Linux. Though these are interview focused, they helped me get a quick transition view and calls to investigate further. Thanks for sharing!
@erykfromm
@erykfromm 5 жыл бұрын
Netstat got replaced by 'ss', but parameters are same: 'ss -tulpn'
@franciscoayerdi6746
@franciscoayerdi6746 6 жыл бұрын
Thank you. My name is Frank Ayerdi and I am in Linkedin. I am teaching my 9 year old Linux and he now has his own computer. I found your video very helpful.
@cocothegamer194
@cocothegamer194 3 жыл бұрын
I remember watching this probably a year or two ago and writing everything down and thinking to myself that I’ll memorize everything and be golden. But what you said in the beginning is right you gotta use it before you even know why it’s there in the first place. Well now a year or so later and I can answer all of these questions truthfully and give you exact reasons as to why I know the answer to each of them. Thanks for the video it taught me a lot and prepared me for what is to come!
@tutoriaLinux
@tutoriaLinux 3 жыл бұрын
Sounds like you are on exactly the right page-it’s the experience that matters, and puts all of this into context. Cheers!
@michalyne
@michalyne 4 жыл бұрын
I'm a hardcore IT Engineer with Linux experience and you're brief tutorial on Linux was helpful and informative. I don't pretend to know all their is to Linux and I don't know many IT Engineers that do since Windows has made most of us lazy, although I've rediscovered Linux for my interest in web development and I've gone too long without a dedicated Linux Server in my home office. Subscribed and Liked plus I intend on checking out all of your videos since Linux has come a long way since last I played around with it.
@8080pc
@8080pc 7 жыл бұрын
I'm just a Linux hobbyist but I found this interesting and I am going to learn more from here. Thanks for posting !
@WhiteThunder121
@WhiteThunder121 3 жыл бұрын
Them: "How do you check for open ports?" Me: "nmap." Them: "Well yes, but actually no."
@keen_lex
@keen_lex 3 жыл бұрын
nmap is what I'm using for some reason even though netstat is there
@pabloalfaro2595
@pabloalfaro2595 3 жыл бұрын
@@gluttonousmachina2961 nmap wont nuke your open ports lol....
@ImaBlackBelt42
@ImaBlackBelt42 3 жыл бұрын
I'm running arch and netstat isn't even in the repos.
@cgme7076
@cgme7076 3 жыл бұрын
@@defalt2384 your comment is accurate
@alephanull1953
@alephanull1953 3 жыл бұрын
@@defalt2384 net-tools is deprecated. What should I do?
@yuri_alba
@yuri_alba 7 жыл бұрын
I learned 2 things more: htop and mount (status only). Thanks, man!
@sebastiansebastian5201
@sebastiansebastian5201 7 жыл бұрын
Nearly all of these questions came up in my last Linux Sysadmin job interview. I can likewise confirm that these questions are pretty typical.
@vincentchen9513
@vincentchen9513 6 жыл бұрын
David Sebastian likely your interviewer was trying to find some interview questions from KZbin,lol
@yatoxic1213
@yatoxic1213 5 жыл бұрын
As a 15 y/o, I have used Debian based systems for almost 2 years and I can answer all of them. They don't seem that hard, but is this really it about being a sysadmin? There must be more to this than that.
@kermitdafrog8
@kermitdafrog8 5 жыл бұрын
Well from using Linux since the 90's as a personal thing. I guess if that's all they wanted to know then I could easily be a sys admin for a living instead of just as a hobby.
@MennoSchepers
@MennoSchepers 5 жыл бұрын
​@@yatoxic1213 these questions tell if you have very basic Linux knowledge. It's like asking a car engineer "how fast is the car going" "how much fuel is left" "what gear is the car in". I can imagine one or two of these questions being asked in the beginning of the interview in order to make sure nobody is wasting time. After failing to answer, the interview is over and if you got them good, the interview will start and you'll get proper questions based on the actual job you are applying for.
@yatoxic1213
@yatoxic1213 5 жыл бұрын
@@MennoSchepers that makes sense
@lehieu2335
@lehieu2335 5 жыл бұрын
Finished watching 54 videos, thank you very much
@MastaHipHopapotomus
@MastaHipHopapotomus 6 жыл бұрын
For dealing with mounts, my favorite command by far is "lsblk" because it shows all your mounted and unmounted devices in a very neat and readable manner. Kind of like a well formatted version of the command "mount" (only if you're using it to display info).
@onemoregodrejected9369
@onemoregodrejected9369 2 жыл бұрын
Same. lsblk is more readable laying down better the info, i would had used it too.
@darek4488
@darek4488 4 жыл бұрын
Very nice refresher for me. A few I didn't know or forgot completely.
@samjones4327
@samjones4327 Жыл бұрын
Thank you very much for a clear and concise list of Linux commands! Cheers!
@osmiridium
@osmiridium 3 жыл бұрын
Great, practical explanation. Very helpful in preparation for a linux interview I have in a few days.
@jacksagephoenix
@jacksagephoenix 6 жыл бұрын
Yay I passed round one. Those two years working as a support engineer weren't wasted :D
@defcon9998
@defcon9998 4 жыл бұрын
This was great! Add more of this content, please. I just subscribed to your channel. Just from this first time viewing your video👍🏻
@xXDeszarasXx
@xXDeszarasXx 6 жыл бұрын
I know most of this commands because of work, but the way you explain this made me subscribe without hesitation
@NomadicDmitry
@NomadicDmitry 4 жыл бұрын
Great to refresh a memory on some of the commands, thanks!
@jjjww975
@jjjww975 7 жыл бұрын
Commands to Know: uname -a / ifconfig or ip addr show / df -ah / service status or systemctl status / du -sh code/ / sudo netstat -tulpn / ps aux | grep or top or htop / mount /dev/sda2 /mnt or mount / man / / Google & others
@happygimp0
@happygimp0 4 жыл бұрын
df -a --si
@reszzz
@reszzz 7 жыл бұрын
Thank you. I'm a relative newbie to Linux but very motivated to learn all I can. These were a good benchmark. Subscribed for more.
@bophadeezgames
@bophadeezgames 2 жыл бұрын
This is a realy good Video great format of asking questions and answering them very iformative Great Job!!
@evansmith2637
@evansmith2637 3 жыл бұрын
Just completed an interview and did amazing after exploring the information from this video! thank you!!!
@tutoriaLinux
@tutoriaLinux 3 жыл бұрын
Woohoo! Congratulations.
@evansmith2637
@evansmith2637 3 жыл бұрын
@@tutoriaLinux hey man is there any place I can donate to your page or something? I just bought the course on Udemy and look forward to learning even more.
@user-hz7ho8bl9n
@user-hz7ho8bl9n 6 жыл бұрын
Hey there! Sweet! Short and to the point. Thank you for the work and the knowledge sharing! Keep it up!
@SamClarke29
@SamClarke29 7 жыл бұрын
No frills and nothing boring. Everything important. I dig it.
@andrew8293
@andrew8293 6 жыл бұрын
Your videos are extremely helpful And your Sysadmin playlist is awesome. Keep up the good work
@wackaeleanor196
@wackaeleanor196 5 жыл бұрын
I had my first ever interview today for a junior linux sysadmin, about 4 of the questions from here where asked. a few more include; how to compress a log file, config file for kernel, how to ssh into a server when the server is down. i was so nervous, i did not make it to the next level. I have another interview coming up in a couple of days, still nervous, but working harder.
@tutoriaLinux
@tutoriaLinux 5 жыл бұрын
Congrats on interviewing! Don't worry about the interview stress -- it will get more and more manageable with each interview you do. Just focus on why you love this stuff and ask interesting questions about the company/work environment. Wishing you luck.
@johnnyvcrow
@johnnyvcrow 5 жыл бұрын
I learned that for the "ip addr show" command you only actually need the first letters. Just a little time saver. Example: "ip a s eth0"
@JustinOros
@JustinOros 4 жыл бұрын
Yup! In most cases I just do: ip a
@ordinaryperson2672
@ordinaryperson2672 4 жыл бұрын
I prefer good old ifconfig because that one will also work under non-Linux systems where "ip ..." won't
@chaosmagican
@chaosmagican 3 жыл бұрын
Sounds familiar, IOS anyone?
@chickenpotthighs9387
@chickenpotthighs9387 2 жыл бұрын
I’m so glad you post videos about cloud computing too!
@MaciejKetus
@MaciejKetus 6 жыл бұрын
I liked the presentation format. Subbed mate :)
@maxpolaris99
@maxpolaris99 8 жыл бұрын
I got them all too, except I said nmap instead of netstat, netstat for local, nmap for remotes. Linux user since 2010.
@Trekeyus
@Trekeyus 7 жыл бұрын
I did the same thing. I also just learned about du -h.
@chopcooey
@chopcooey 7 жыл бұрын
hehe same, got all but netstat, using linux since 2013
@velianlodestone1249
@velianlodestone1249 7 жыл бұрын
Same, but I don't think nmap would be counted as incorrect.
@crackpippi
@crackpippi 7 жыл бұрын
nmap and netstat should really both be accepted answers. But as an interviewee I would mention netstat also and see if the applicant is familiar with it.
@rmelotto
@rmelotto 7 жыл бұрын
Ive come from business area, entire life work focusing on finance and then, BANG, my boss sends me to IT area. I have to confess I used to read hardware books while on graduation just for fun and that I always wanted to know more about Linux since I was a kid and had read about hackers and stuff. But damn, boss had gave me an opportunity to focus on another area and I had to run to learn more about it. Got my Comptia and LPI certifications on Linux, studying for RHCSA and doing a course on oracle. Gota get some more certifications or my short time working as sysadmin may be frustrating in the near future =] Working in IT since 2015 and in love for Linux =D
@cgme9535
@cgme9535 3 жыл бұрын
I thought I was OK at this. I was not 😂 Thanks for the helpful video!
@Katesickles4827
@Katesickles4827 5 жыл бұрын
this is really great! I'm new to the field and need to learn linux. I followed along on a vm and found this very useful and educating. Thanks! Please do more just like this. Anything related to the infosec world.
@smithwill9952
@smithwill9952 6 жыл бұрын
Appreciate your contribution in helping those unix cli "newbie" understand more about the power of command line. Online Education, especially videos, helps the growth of open source society.
@saikrishnadeshpande3999
@saikrishnadeshpande3999 6 жыл бұрын
amazing !!! thank you ..all of these questions are asked in my amazon interview.
@ritusingh6178
@ritusingh6178 5 жыл бұрын
Can you share your experience of the Amazon technical test please. What all questions are asked if some has applied in AWS domain.
@einarjh
@einarjh 7 жыл бұрын
You can also use hostname -I (capital i) to list all the IP addresses for a host (omitting loopback and link-local addresses) - easier than trying to pick through the output of ip a. As others have pointed out, ifconfig and netstat are deprecated, and have been for a long, long time. RHEL7 / CentOS 7 has already dropped it from the base install, and the Debian people are working on it.
@lukesemail6980
@lukesemail6980 2 жыл бұрын
This video led to me finding your other Linux tutorials. Thank you!
@phrtao
@phrtao 6 жыл бұрын
For me it is so much more important that some one understands what is actually going on with the system architecture and how it all fits together rather than memorising commands and syntax. Most things asked here can be done in a variety of ways.
@ojkolsrud1
@ojkolsrud1 4 жыл бұрын
Interviewer: "How would you [some task]?" me: "I'd search online, because that simply is the most effective method"
@pavloskairis9994
@pavloskairis9994 4 жыл бұрын
what if you dont have network?
@ojkolsrud1
@ojkolsrud1 4 жыл бұрын
@@pavloskairis9994 It probably wouldn't work in a job interview, but I would've called someone who did. I'm really good at searching for solutions to problems, so I'd ask them to search using my search term. I'm well versed enough in Linux to only be told what the commands and stuff should be, so they'd only have to read what they find.
@thepetyo
@thepetyo 4 жыл бұрын
@@pavloskairis9994 On my phone? How?
@daveduffy2823
@daveduffy2823 4 жыл бұрын
That’s the answer I use
@nan0m373r
@nan0m373r 4 жыл бұрын
No. _Knowing_ what to do is the most effective, nothing is faster than that. No one wants you sitting around googling things you are supposed to know by heart while your client is dead in the water and losing money with every minute of downtime. P.S. Of course you can't know everything, but if something comes up often, you should know it.
@Chris-rm1pn
@Chris-rm1pn 4 жыл бұрын
I learned half of these installing arch last week 😂😂😅
@walekadiri1510
@walekadiri1510 Жыл бұрын
This was a very helpful refresher, thanks a ton!
@litlbruce
@litlbruce 7 жыл бұрын
Great refresher. I don't get to play in Linux as much these days, so it's good to stay up on it. I do miss it.
@IzzyIkigai
@IzzyIkigai 7 жыл бұрын
df -h doesn't take root-reserved space(usually 5%) into account, which is why the actual free space of the shown root disk is a little higher. .
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
This is a great detail to point out for others here; thanks!
@carlosgarza31
@carlosgarza31 5 жыл бұрын
I wouln't take that 5% for granted as when your disks user space fills up your system will be so damaged the only one that will be able to login at that point is root in single user mode most likely at that point. Certainly user level processes won't be able to do anything with it.
@ProphetPX
@ProphetPX 4 жыл бұрын
so? you make an alias like this: alias df='alias --sync -ha' then EXPORT it or save it in your .bash_aliases file .... then logout / reload your shell. Bingo or voila. it now SYNCS all the HD caches before showing you the latest stats.
@tinnick
@tinnick 3 жыл бұрын
Df -h also doesn’t work very well if you’re using zfs with bunch of snapshots. I like to use “fdisk -l” for this reason (though it’s quite verbose)
@kellingc
@kellingc 7 жыл бұрын
Thank you for this - this confirms that I am studying the correct information. I would have been able to answer all those questions intelligently, adding "info" to #9. Example how would you look up information on something you you don't know? I'd answer "man or info - into gives the same information presented in a different layout".
@bjbboy71697
@bjbboy71697 7 жыл бұрын
Agreed. Usually info contains MUCH more info about like how the program actually works rather than just how to use it which is what man is better for. For example the man page for "make" will just simply show you how to use the make command, but the info for "make" is extremely detailed and helps you with writing makefiles and shows you how they work.
@raulgonzalez6943
@raulgonzalez6943 Жыл бұрын
Great on Linux interview questions. I plan to see the Tutorial on Linux. Very good job. RG.
@daniele.contreras3590
@daniele.contreras3590 6 жыл бұрын
Very good, you just earned a subscriber, I hope to get involved in more of your videos, I like the idea of your channel, I got all the questions right by the way, even so I learned a few things from this video. Cheers.
@morsikpl
@morsikpl 3 жыл бұрын
2:50 - checking IP address: ifconfig is deprecated since 10 years already. You should use 'ip addr show' or 'ip a s' for short or even 'ip a' shortest version. Latest linux distros doesn't even ship with old net-tools which contains 'ifconfig', but they ship with iproute2 which contains 'ip' command. Also: old 'ifconfig' doesn't show multiple IP Addresses on single interface which 'ip' does. And this is different than interface aliases. Same with 'netstat' vs. 'ss'.
@jnrivers
@jnrivers 7 жыл бұрын
9 out of 10. Services got me.
@polyeder2000
@polyeder2000 4 жыл бұрын
But like me, you have learned something new.
@daithuan
@daithuan 3 жыл бұрын
Great video, much appreciated. Good luck in all your endeavors also :-).
@conchezness3744
@conchezness3744 6 жыл бұрын
Thank you so much for this tutorial. Highly appreciated 👍
@cfhay
@cfhay 5 жыл бұрын
9:57 "pgrep" or "ps -fp $(pgrep ...)" can be more useful instead of "ps | grep" in case a server runs a lot of processes and it's very slow due to overload
@Nobody1x1
@Nobody1x1 5 жыл бұрын
I literally have a written exam in 2 hours and I am sitting here watching this instead of going over my material. I study law...
@Fielmur
@Fielmur 5 жыл бұрын
You should be familiar with Linux if you wanna grow as a lawyer, it's common knowledge mate.
@xekis
@xekis 5 жыл бұрын
We actually had a former lawyer doing linux admin stuff on my last team. He said he switched careers because he likes helping people.
@datasdawayilikeit8683
@datasdawayilikeit8683 5 жыл бұрын
maybe he is planning on suing for software copyright infringements
@Nobody1x1
@Nobody1x1 5 жыл бұрын
@@datasdawayilikeit8683 nah just procrastinating tbh. But thanks for your trust haha. Copyright law is probably interesting as well.
@Nobody1x1
@Nobody1x1 4 жыл бұрын
@Wandy Wexler Weslon Can't remember exactly which one it was but it went well iirc. Thank you for asking haha.
@cy_wareye7395
@cy_wareye7395 6 жыл бұрын
Best what i find here. Very subscriber-friendly explanation. Need some more.
@dailymotivationbyyourgirl27
@dailymotivationbyyourgirl27 5 жыл бұрын
Thanks Dave! It was totally useful and refreshing
@NeoChameleon
@NeoChameleon 7 жыл бұрын
Pretty fun as a quiz, got them all except netstat, I would use nmap, and I would have to look up its arguments - I don't use the functionality often at all. With the "how would you mount a usb drive you had just plugged in" I would add "dmesg | tail" to get the device name first.
@BruceHoult
@BruceHoult 6 жыл бұрын
lsblk
@vertigo6982
@vertigo6982 5 жыл бұрын
blkid so I can see what kind of file system and the UUID for mounting
@FritzPinguin
@FritzPinguin 5 жыл бұрын
As registered Linux user #3406 I could answer all questions, just some with the older commands :-)
@menyasavut3959
@menyasavut3959 4 жыл бұрын
oh .. I forgot to refresh this registration. but why does "linuxcounter.net" now point to a transgender website :-D
@Achrononmaster
@Achrononmaster Жыл бұрын
@10:09 Tip: to see the headers when inspecting `ps aux | grep ` you want to egrep one of the header columns, e.g., `ps aux| egrep "systemd|PID" `
@ayzack2361
@ayzack2361 6 жыл бұрын
Nice, a good refresher since I haven't touch my Linux partition for a while!
@asterix40684
@asterix40684 7 жыл бұрын
Thanks for this, it's very useful! :) Luckily I knew all the answers (with a short hesitation at netstat). Though I'm more into programming than system administration, I use Linux because it's beautiful! I'm about to finish a huge book on C++ this or next month and then I'll see what the market has to offer and what's next maybe Python or D.
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
I use a lot of Python (excellent for job prospects), but D is a *really* interesting language. I'm far from a pro with D, but it's definitely an interesting one to learn. Again, if you're about to engage in a job hunt, Python will probably be a better time investment in the short-term, though :-).
@RetroSmoo
@RetroSmoo 7 жыл бұрын
I did Python before C/C++ and Java and it is much easier, first time hearing of D
@DrequimaX
@DrequimaX 7 жыл бұрын
Awesome tutorial, Sir. :)
@Maxlkl
@Maxlkl 7 жыл бұрын
really appreciate this, i don't actually fall asleep unlike other videos.
@awuma
@awuma 6 жыл бұрын
Excellent video! Linux and the shell (c, bash etc.), are just so powerful.
@nathan44u
@nathan44u 5 жыл бұрын
7/10, Surprisingly easy for someone who just copy-pastes everything :(
@krux02
@krux02 7 жыл бұрын
I feel the urge to just answer the question in the thumbnail: I would google how to open the ports.
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
Hah, I love this.
@YourNickIsTaken
@YourNickIsTaken 5 жыл бұрын
Now i'm thankful to my 5th grade teacher he told these and also gave us lessons for typewriting. These are essential skills even if you are not into IT.
@robertzugates1404
@robertzugates1404 5 жыл бұрын
Thank you. I knew some and happy I came across your videos
@TeganBurns
@TeganBurns 7 жыл бұрын
net-tools is depreciated you should be using the iproute2 package aka 'ss' instead of 'netstat'.
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
It's good to know both. net-tools will be around for a long time on Debian, CentOS, and RedHat servers that new sysadmins will maintain. You're absolutely right, though -- I should make a few videos covering the new iptools suite.
@shills112000
@shills112000 7 жыл бұрын
Tegan Burns Linux has always and will always have many ways to skin a cat, if it's available use it.
@fractalfox465
@fractalfox465 6 жыл бұрын
lsof -Pni
@frosty9392
@frosty9392 6 жыл бұрын
ss seems to be messier. makes it kind of annoying to read
@CaptainDangeax
@CaptainDangeax 6 жыл бұрын
I work in a big governemental agency in France and we've got more than 1500 linux servers in production. Versions are redhat 5, 6 and 7. Your advice does not apply for RHEL5. RHEL 7 is systemd while 5 and 6 are classical SysV. One must know both versions.
@bschonec
@bschonec 6 жыл бұрын
Here's a few I ask: 1 - How do you add a new disk to a linux VM (typically) without rebooting? 2 - How would you go about recovering a root password that you don't know? 3 - Why would a file system APPEAR full even though a "du -shc" shows that there's not that much space taken up? 4 - How do you add space to an existing file system in LVM? and to see if the candidate has any network debugging experience: 5 - You've got a DNS server that's one router hop away on the network but you can't do a zone transfer. What are some things you'd check?
@tutoriaLinux
@tutoriaLinux 6 жыл бұрын
Those are some great questions, thanks for sharing!
@battosaijenkins946
@battosaijenkins946 6 жыл бұрын
@TutoriaLinux heyas thank you for this video! I can't believe these are questions to a job interview because they're so easy and it's basic stuff. Coming from an ex windows power user I am completely in love with Ubuntu linux and I will always remember these important commands. Thank you!
@hisss
@hisss 5 жыл бұрын
...and I felt so good about myself (about a decade of exclusively using Linux at home, no professional experience at all) getting a 9/10 on the original list of questions (forgot about netstat as that too I never need at home)...your list I would fail horribly as none of that I have ever come into contact with at home. At least you gave me something to man/google...
@lorezyra
@lorezyra 5 жыл бұрын
How would you answer these questions?
@ProphetPX
@ProphetPX 5 жыл бұрын
of those, i need to learn: 1,2,4,5 but answer to 3 is just simply this (in non tech or CLI terms): SLACK space and the structure of the formatting used on the filesystem in question :) and was there compression or no?
@thewayfarerseye
@thewayfarerseye 7 жыл бұрын
That's really a great video said in simple way. Great job and these videos inspire people to make such videos and help others...
@blehhhhhhish
@blehhhhhhish 7 жыл бұрын
Good video - Thought I was rather experienced in bash, but the du command was new to me. I was using a separate package for the same functionality. Good to see there's a built in package for that.
@zyghom
@zyghom 5 жыл бұрын
if these are the commands for admin then almost every Linux user is an admin ;-)
@duminicad
@duminicad 4 жыл бұрын
I mean, you kinda have to be, you're an admin of your computer ;)
@blueyellow0321
@blueyellow0321 5 жыл бұрын
iostat for sata/usb ...etc performance.
@arifbasri4950
@arifbasri4950 4 жыл бұрын
Thank you. It's simple and understandable. It's what I'm looking for
@BrainDesmo
@BrainDesmo 7 жыл бұрын
Bravo sir, very interesting. Please do produce more... of all the topics you mentioned at the end of this episode (particularly, more linux, networking, and cloud). Thank you so much!
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
Working on it :-)
@flyfight98
@flyfight98 5 жыл бұрын
Just downloaded my first linux distro and have no clue what you are doing, but it looks interesting xD
@p5eudo883
@p5eudo883 5 жыл бұрын
How's the journey going?
@flyfight98
@flyfight98 5 жыл бұрын
@@p5eudo883 Accidentally fcked up my manjaro and now I am fiddling with a timeshift backup that just doesnt want to work xD its a strange ride but I´ll get there ^^
@kermitdafrog8
@kermitdafrog8 5 жыл бұрын
@@flyfight98 I first started learning about Linux back in the 90's in HS. Messed up, learn how to fix, and learn why not to do that again. All part of the learning process :).
@bobsmith2619
@bobsmith2619 5 жыл бұрын
awesome
@CardinalHijack
@CardinalHijack 7 жыл бұрын
How are you supposed to become a junior linux sys admin if you are exactly that - a junior in your career with most likely no profession experience? Where is the step from no professional experience to professional experience, if every company wants you to have X many years experience, even for a junior role.
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
I think job ads generally tend towards being stupid and misleading. Most have been either created or severely edited by an HR person who has no idea what the job is actually about. Every IT job I've ever had required a College Degree (which I don't have), according to the job description. Every one of those companies has been open to self-motivated juniors, which is how I got started. As soon as you talk to an actual technical person, it's about demonstrating that you've got the skills you need to be useful right away, that you've got the motivation to learn and improve in your spare time, and that you've got the proper personality and instincts to keep from screwing up too badly (caution, double-check mentality, good writing skills, social skills, patience, lack of arrogance, etc.). Nothing in a job ad is carved in stone. Apply anyway and make sure you have a good story about yourself and your background, and sooner or later you'll get a chance.
@CardinalHijack
@CardinalHijack 7 жыл бұрын
Very true regarding flexibility of job apps. However, as you say when you have HR people editing and often recruiting for these jobs (who may not be very informed about the role) you often have those same HR people initially sifting the applications as a first round. The issue I found is that I wasnt even able to get to a stage to prove myself by answering questions like this because, on paper, I didnt appear to match requirements. To explain, I do a lot of sys admin related stuff in my spare time. None of it is paid, its all for fun/to help community's I am part of. However, because it lacked the word *Professional* this experience didnt hold any value to the initial interview sifters who rejected me. After asking all of them why, the ones who replied said it was due to "lack of relevant professional experience". I also find that it is very difficult to prove that you are motivated and willing to learn if you have no relevant experience on a resume , especially if your resume is the only factor in your initial application process (which it is 99% of the time).
@tutoriaLinux
@tutoriaLinux 7 жыл бұрын
Yeah, what you're saying is absolutely true in my experience as well. The way I found around this was to target small companies (~20 people) that weren't big enough to have HR drones, and then apply for internships and junior roles at those, using super customized cover letters. After applying, it might be worth it to contact the hiring manager (company tech guy, at a place this small) directly and give him a 10-second version of this story (applied, worried I'll get sifted by HR before I can prove myself in an interview, love your company and wanted to ensure I get a fair shot). Also, it might be useful to rebrand your community volunteering as "Open-Source" work, if there's any way that might apply. If not, consider writing some scripts or programs to help automate your volunteer work there, and put them up on Github. HR drones learn slowly, but "open source" is a word they are starting to recognize.
@CardinalHijack
@CardinalHijack 7 жыл бұрын
Both of those are really good suggestions!
@AshenElk
@AshenElk 7 жыл бұрын
+CardinalHijack As Dave hinted, you must become "creative". He suggested shoehorning "Open Source" in there. My relative called years of unemployment "working in import/export overseas". So whether you outright lie or just "re-interpret" your experience (because you do have experience -- its just not professional (read: paid) experience) your goal will be to get past the gatekeeper and force them to see how good you really are for the job. And sometimes that means... "exaggerating". Good luck!
@GameOfTobes
@GameOfTobes 5 жыл бұрын
:D 10 out of 10. Totes patting myself on the back, lol. Great video. Also want to point out that for number 10 you can use help flags such as: "--help or -h" for most commands. :)
@MiseryFarm
@MiseryFarm 5 жыл бұрын
Thanks. I'd love to see more!
A Guide to the DevOps Technical Interview
7:46
tutoriaLinux
Рет қаралды 70 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 3,9 МЛН
Тяжелые будни жены
00:46
К-Media
Рет қаралды 3,7 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 9 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 10 МЛН
Popular Linux Interview Questions for DevOps Interviews
14:20
tutoriaLinux
Рет қаралды 122 М.
Realtime Interview Questions asked from 3-5 years of Linux Admins
21:01
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Linux Performance Troubleshooting Demos
10:51
grobelDev
Рет қаралды 56 М.
8 Basic lsof Commands Every Sysadmin Needs to Know
15:21
tutoriaLinux
Рет қаралды 166 М.
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Рет қаралды 373 М.
Interview with a Linux System Engineer
47:08
tutoriaLinux
Рет қаралды 11 М.
Richard Stallman Talks About Ubuntu
6:10
TFiR
Рет қаралды 1,4 МЛН
Готовый миниПК от Intel (но от китайцев)
36:25
Ремонтяш
Рет қаралды 433 М.
Edit My Photo change back coloured with Bast Tech
0:45
BST TECH
Рет қаралды 335 М.