Top 10 Linux Job Interview Questions

Поделиться
HTML-код
  • Опубликовано: 25 июн 2024
  • 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,4 тыс.

  • @GrandpasPlace
    @GrandpasPlace 6 лет назад +3616

    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 лет назад +393

      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 лет назад +168

      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 6 лет назад +415

      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 6 лет назад +134

      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 6 лет назад +10

      Grandpa's Place Ok :-)

  • @johnmadsen37
    @johnmadsen37 5 лет назад +1056

    I usually check with my fingers. If one goes in, the port is open.

    • @ftsmallwood
      @ftsmallwood 5 лет назад +48

      That is not linux which you are thinking aboujt.

    • @HK-sw3vi
      @HK-sw3vi 5 лет назад +141

      and if you get a shock then you know the port is up and running

    • @BibaBoba2D
      @BibaBoba2D 5 лет назад +27

      good one.
      you will got the job, instantly.

    • @scottfranco1962
      @scottfranco1962 5 лет назад +14

      Funny. Security will show you out.

    • @contort69
      @contort69 5 лет назад +14

      netstat tulip works for me :) ..my wife is Dutch

  • @peepers471
    @peepers471 Год назад +8

    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.

  • @GothicKin
    @GothicKin 4 года назад +292

    Just watching this to get better at home use xD

  • @TimTeatro
    @TimTeatro 7 лет назад +1573

    I'm just a home user, and I got all of them. That's a nice ego boost.

    • @tutoriaLinux
      @tutoriaLinux  7 лет назад +144

      Nice! My kind of user :-D.

    • @demochannel6146
      @demochannel6146 7 лет назад +43

      i got 2/3 out of 10 and considered myself pretty good at it. lol

    • @abhishtagatya
      @abhishtagatya 7 лет назад +3

      lol same here

    • @BambooBurglar
      @BambooBurglar 7 лет назад +1

      Tim Teatro same lmao

    • @Rainaman-
      @Rainaman- 6 лет назад +19

      Same here. If someone can`t pass this with education they chose, then they deserve to flip burgers for rest of their life.

  • @samclarke8724
    @samclarke8724 6 лет назад +386

    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 лет назад +8

      I like this. I will use this. Thanks buddy!

    • @carlosgarza31
      @carlosgarza31 5 лет назад +7

      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 лет назад +1

      i just type netstat -tulpan because "tulpan" is actual word that one can easy remember

    • @kermitdafrog8
      @kermitdafrog8 5 лет назад +9

      You could always run nmap. It'll tell you open ports on yours and other systems.

    • @RightNow978
      @RightNow978 5 лет назад

      ty

  • @kuba2ve
    @kuba2ve 5 лет назад +157

    Recommended book:
    "How Linux Works. What every superuser should know" by Brian Ward

  • @r6u356une56ney
    @r6u356une56ney 3 года назад +59

    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 года назад +4

      I think lsof -i is better as well since it's compatible with Unix and Linux. netstat -tulpn does not work on Macs.

  • @reedyseth
    @reedyseth 5 лет назад +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 !!

  • @suzykim4035
    @suzykim4035 8 лет назад +14

    you make this so much easier to understand and very clear.
    thanks so much

  • @sebvieira
    @sebvieira 4 года назад +9

    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 6 месяцев назад +1

      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 5 месяцев назад

      I'd bet that even fewer people know how to set the various permission flags independently and separately for each user.

  • @scoreunder
    @scoreunder 4 года назад +49

    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).

  • @UGKAST
    @UGKAST 7 лет назад +5

    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.

  • @jjjww975
    @jjjww975 7 лет назад +14

    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

  • @soamesphares
    @soamesphares 4 года назад +7

    Only yesterday I was asked #1 question on the interview...keep doing what you doing...it helps a lot of people out there.

  • @seanmichalek9830
    @seanmichalek9830 5 лет назад +3

    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

  • @Time4Technology
    @Time4Technology 7 лет назад +168

    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 лет назад +48

      This is good advice; thanks!

    • @vertigo6982
      @vertigo6982 6 лет назад +2

      Hey same goes for a c++ job.

    • @SlickBlackCadillac
      @SlickBlackCadillac 5 лет назад +1

      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?

  • @michelangelop3923
    @michelangelop3923 3 года назад +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!

  • @WDCallahan
    @WDCallahan 3 года назад +27

    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 года назад +6

      I wish so many computer people weren't like you.

    • @carltonwhite2702
      @carltonwhite2702 2 года назад

      @@ciscornBIG yeah, guy sound like a prick.

  • @sysghost
    @sysghost 7 лет назад +60

    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 6 лет назад +6

      When you get those question you can never go wrong with the simple reply "a hammer"

    • @carlosgarza31
      @carlosgarza31 5 лет назад +7

      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 лет назад +3

      @@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 лет назад +4

      Linux is AWESOME!!!! ....when it works.

  • @erykfromm
    @erykfromm 6 лет назад +36

    Netstat got replaced by 'ss', but parameters are same: 'ss -tulpn'

  • @lehieu2335
    @lehieu2335 5 лет назад +3

    Finished watching 54 videos, thank you very much

  • @Nicholas108108
    @Nicholas108108 7 лет назад +183

    Instant fan.
    Practical. To the point. Well explained. And I'm able to follow along in my terminal without pausing.
    Good stuff.

  • @bdf2718
    @bdf2718 7 лет назад +15

    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" :)

  • @sebastiansebastian5201
    @sebastiansebastian5201 7 лет назад +143

    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 лет назад +25

      David Sebastian likely your interviewer was trying to find some interview questions from RUclips,lol

    • @yatoxic1213
      @yatoxic1213 5 лет назад +6

      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 лет назад +1

      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 лет назад +17

      ​@@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

  • @jacksagephoenix
    @jacksagephoenix 6 лет назад +3

    Yay I passed round one. Those two years working as a support engineer weren't wasted :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!

  • @yuri_alba
    @yuri_alba 7 лет назад +2

    I learned 2 things more: htop and mount (status only). Thanks, man!

  • @NomadicDmitry
    @NomadicDmitry 4 года назад +3

    Great to refresh a memory on some of the commands, thanks!

  • @rosjio99
    @rosjio99 4 года назад +8

    1:50 How to the check the kernel version of a Linux system
    2:50 How to check 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
    11:49 How to deal with mounts in Linux
    13:51 Man pages
    15:04 Other resources

  • @SamClarke29
    @SamClarke29 7 лет назад

    No frills and nothing boring. Everything important. I dig it.

  • @darek4488
    @darek4488 4 года назад +1

    Very nice refresher for me. A few I didn't know or forgot completely.

  • @leonk6950
    @leonk6950 5 лет назад +46

    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!

    • @fragdeinpferd
      @fragdeinpferd 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

  • @franciscoayerdi6746
    @franciscoayerdi6746 7 лет назад +8

    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.

  • @benbcnz1
    @benbcnz1 6 лет назад +1

    I'm a big fan of putting time stamps in the description for each topic. Thanks, and nice work!

    • @tutoriaLinux
      @tutoriaLinux  6 лет назад +1

      Thanks. Gotta start doing that again; it's super time consuming but I'm glad someone's using that feature :-D.

  • @chickenpotthighs9387
    @chickenpotthighs9387 2 года назад

    I’m so glad you post videos about cloud computing too!

  • @osmiridium
    @osmiridium 3 года назад +3

    Great, practical explanation. Very helpful in preparation for a linux interview I have in a few days.

  • @WhiteThunder121
    @WhiteThunder121 3 года назад +135

    Them: "How do you check for open ports?"
    Me: "nmap."
    Them: "Well yes, but actually no."

    • @keen_lex
      @keen_lex 3 года назад +5

      nmap is what I'm using for some reason even though netstat is there

    • @pabloalfaro2595
      @pabloalfaro2595 3 года назад +3

      @@gluttonousmachina2961 nmap wont nuke your open ports lol....

    • @ImaBlackBelt42
      @ImaBlackBelt42 3 года назад +3

      I'm running arch and netstat isn't even in the repos.

    • @cgme7076
      @cgme7076 3 года назад +1

      @@defalt2384 your comment is accurate

    • @alephanull1953
      @alephanull1953 3 года назад

      @@defalt2384 net-tools is deprecated. What should I do?

  • @andrew8293
    @andrew8293 6 лет назад

    Your videos are extremely helpful
    And your Sysadmin playlist is awesome. Keep up the good work

  • @lukesemail6980
    @lukesemail6980 2 года назад

    This video led to me finding your other Linux tutorials. Thank you!

  • @8080pc
    @8080pc 7 лет назад +16

    I'm just a Linux hobbyist but I found this interesting and I am going to learn more from here. Thanks for posting !

  • @Chris-rm1pn
    @Chris-rm1pn 4 года назад +10

    I learned half of these installing arch last week 😂😂😅

  • @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.

  • @xXDeszarasXx
    @xXDeszarasXx 6 лет назад

    I know most of this commands because of work, but the way you explain this made me subscribe without hesitation

  • @maxpolaris99
    @maxpolaris99 8 лет назад +226

    I got them all too, except I said nmap instead of netstat, netstat for local, nmap for remotes.
    Linux user since 2010.

    • @Trekeyus
      @Trekeyus 8 лет назад +6

      I did the same thing. I also just learned about du -h.

    • @chopcooey
      @chopcooey 8 лет назад +2

      hehe same, got all but netstat, using linux since 2013

    • @velianlodestone1249
      @velianlodestone1249 7 лет назад +5

      Same, but I don't think nmap would be counted as incorrect.

    • @crackpippi
      @crackpippi 7 лет назад +4

      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 лет назад +3

      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

  • @einarjh
    @einarjh 7 лет назад +3

    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.

  • @cocothegamer194
    @cocothegamer194 3 года назад +1

    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 года назад +1

      Sounds like you are on exactly the right page-it’s the experience that matters, and puts all of this into context. Cheers!

  • @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.

  • @MastaHipHopapotomus
    @MastaHipHopapotomus 6 лет назад +5

    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.

  • @ojkolsrud1
    @ojkolsrud1 4 года назад +85

    Interviewer: "How would you [some task]?"
    me: "I'd search online, because that simply is the most effective method"

    • @pavloskairis9994
      @pavloskairis9994 4 года назад +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 года назад +1

      @@pavloskairis9994 On my phone? How?

    • @daveduffy2823
      @daveduffy2823 4 года назад

      That’s the answer I use

    • @nan0m373r
      @nan0m373r 4 года назад +9

      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.

  • @conchezness3744
    @conchezness3744 6 лет назад +1

    Thank you so much for this tutorial. Highly appreciated 👍

  • @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.

  • @saikrishnadeshpande3999
    @saikrishnadeshpande3999 6 лет назад +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.

  • @cgme9535
    @cgme9535 3 года назад +4

    I thought I was OK at this. I was not 😂
    Thanks for the helpful video!

  • @ayzack2361
    @ayzack2361 6 лет назад

    Nice, a good refresher since I haven't touch my Linux partition for a while!

  • @samjones4327
    @samjones4327 2 года назад +1

    Thank you very much for a clear and concise list of Linux commands! Cheers!

  • @morsikpl
    @morsikpl 3 года назад +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'.

  • @johnnyvcrow
    @johnnyvcrow 5 лет назад +23

    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 5 лет назад

      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?

  • @dailymotivationbyyourgirl27
    @dailymotivationbyyourgirl27 5 лет назад +1

    Thanks Dave! It was totally useful and refreshing

  • @Maxlkl
    @Maxlkl 7 лет назад

    really appreciate this, i don't actually fall asleep unlike other videos.

  • @user-hz7ho8bl9n
    @user-hz7ho8bl9n 6 лет назад +4

    Hey there! Sweet! Short and to the point. Thank you for the work and the knowledge sharing! Keep it up!

  • @evansmith2637
    @evansmith2637 3 года назад +3

    Just completed an interview and did amazing after exploring the information from this video! thank you!!!

    • @tutoriaLinux
      @tutoriaLinux  3 года назад +1

      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.

  • @MaciejKetus
    @MaciejKetus 6 лет назад

    I liked the presentation format. Subbed mate :)

  • @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.

  • @wackaeleanor196
    @wackaeleanor196 5 лет назад +10

    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 лет назад +12

      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.

  • @jnrivers
    @jnrivers 7 лет назад +17

    9 out of 10. Services got me.

    • @polyeder2000
      @polyeder2000 4 года назад

      But like me, you have learned something new.

  • @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👍🏻

  • @arifbasri4950
    @arifbasri4950 5 лет назад

    Thank you. It's simple and understandable. It's what I'm looking for

  • @kellingc
    @kellingc 7 лет назад +6

    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 лет назад +2

      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.

  • @cfhay
    @cfhay 6 лет назад +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

  • @cy_wareye7395
    @cy_wareye7395 6 лет назад

    Best what i find here. Very subscriber-friendly explanation. Need some more.

  • @robertzugates1404
    @robertzugates1404 5 лет назад

    Thank you. I knew some and happy I came across your videos

  • @FritzPinguin
    @FritzPinguin 6 лет назад +9

    As registered Linux user #3406 I could answer all questions, just some with the older commands :-)

    • @menyasavut3959
      @menyasavut3959 4 года назад +2

      oh .. I forgot to refresh this registration. but why does "linuxcounter.net" now point to a transgender website :-D

  • @Nobody1x1
    @Nobody1x1 5 лет назад +46

    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 лет назад +5

      You should be familiar with Linux if you wanna grow as a lawyer, it's common knowledge mate.

    • @xekis
      @xekis 5 лет назад +1

      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.

  • @walekadiri1510
    @walekadiri1510 Год назад +1

    This was a very helpful refresher, thanks a ton!

  • @MiseryFarm
    @MiseryFarm 5 лет назад

    Thanks. I'd love to see more!

  • @IzzyIkigai
    @IzzyIkigai 7 лет назад +49

    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 лет назад +19

      This is a great detail to point out for others here; thanks!

    • @carlosgarza31
      @carlosgarza31 5 лет назад +1

      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 4 года назад +1

      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)

  • @NeoChameleon
    @NeoChameleon 7 лет назад +15

    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 6 лет назад

      blkid so I can see what kind of file system and the UUID for mounting

  • @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.

  • @justinphilip3147
    @justinphilip3147 5 лет назад

    I answered all the questions correctly.Thank you for your tutorials.

  • @DrequimaX
    @DrequimaX 7 лет назад +6

    Awesome tutorial, Sir. :)

  • @krux02
    @krux02 7 лет назад +8

    I feel the urge to just answer the question in the thumbnail: I would google how to open the ports.

  • @awuma
    @awuma 6 лет назад

    Excellent video! Linux and the shell (c, bash etc.), are just so powerful.

  • @bophadeezgames
    @bophadeezgames 2 года назад

    This is a realy good Video great format of asking questions and answering them very iformative Great Job!!

  • @nathan44u
    @nathan44u 5 лет назад +5

    7/10, Surprisingly easy for someone who just copy-pastes everything :(

  • @asterix40684
    @asterix40684 7 лет назад +8

    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 лет назад +4

      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

  • @Sebnettic
    @Sebnettic 5 лет назад +1

    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.

  • @bschonec
    @bschonec 6 лет назад +19

    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 лет назад +2

      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 6 лет назад +1

      ...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 6 лет назад +1

      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?

  • @TotalBorroto
    @TotalBorroto 4 года назад +5

    Another common questions asked is where are logs stored: Basic answer is var/logs

    • @duminicad
      @duminicad 4 года назад

      # journalctl -f -u
      to see service log
      the pound symbol means that you need to be root or run with sudo

    • @mohammadrizvi3326
      @mohammadrizvi3326 4 года назад

      in the shed

  • @TheBuilder
    @TheBuilder 3 года назад

    learned a lot about what to ask during interviews

  • @dtriplett03
    @dtriplett03 7 лет назад

    Thanks a Million Dave!)) Foundational Info...tech))

  • @zyghom
    @zyghom 5 лет назад +33

    if these are the commands for admin then almost every Linux user is an admin ;-)

    • @duminicad
      @duminicad 4 года назад +7

      I mean, you kinda have to be, you're an admin of your computer ;)

  • @GoatZilla
    @GoatZilla 4 года назад +3

    13:58 #9 "I usually ask an interviewee"

  • @raulgonzalez6943
    @raulgonzalez6943 Год назад

    Great on Linux interview questions. I plan to see the Tutorial on Linux. Very good job. RG.

  • @timtim9o5
    @timtim9o5 8 лет назад

    Great stuff man , please keep it up !

  • @blueyellow0321
    @blueyellow0321 5 лет назад +4

    iostat for sata/usb ...etc performance.

  • @TeganBurns
    @TeganBurns 7 лет назад +49

    net-tools is depreciated you should be using the iproute2 package aka 'ss' instead of 'netstat'.

    • @tutoriaLinux
      @tutoriaLinux  7 лет назад +33

      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 лет назад +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 лет назад +4

      lsof -Pni

    • @frosty9392
      @frosty9392 6 лет назад +2

      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.

  • @daithuan
    @daithuan 3 года назад +1

    Great video, much appreciated. Good luck in all your endeavors also :-).

  • @zSKW1GGLEZz
    @zSKW1GGLEZz 2 месяца назад

    Excellent video, thank you very much.