[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Going to an interview for junior UNIX position in a large company.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 102
Thread images: 6

File: Tux[1].png (32KB, 314x314px) Image search: [Google]
Tux[1].png
32KB, 314x314px
Going to an interview for junior UNIX position in a large company. I know basic UNIX (basic commands, navigation, permissions), what else should i learn in 24hrs?
>>
php
>>
Grep
>>
>>56707687
Try to set up a VGA passthrough
>>
>>56707704
Like, know every single use of grep?
>>
>>56707729
yep
>>
Quote from the job ad "If products like RedHat/CentOS, Linux, Docker, OpenStack or OpenShift, Cloud does not scare you and you would like to learn them it is likely this position is for you!"

Never heard of those products, do they mean that before coming to an interview, i should know a lot about them, or just have heard about them?
>>
>>56707687
Regexps
>>
>>56707785
I unironically like all these things.
>>
>>56707785
>visits /g/
>mentions UNIX
>has never heard of redhat or linux
Either this is some poser or OP is confirmed b8fag
>>
>>56707687
how does one get a tech job without going to school?
>>
OP is fucked, go humiliate yourself
>>
File: 1439632455476.png (327KB, 749x1000px) Image search: [Google]
1439632455476.png
327KB, 749x1000px
Practice all of these before going in, op.

You honestly don't have much time but they'll expand your knowledge vastly.. and get sleep.
>>
>>56708056
great stuff thanks man. i dont plan on sleeping much today.

>>56708025
sorry i should've excluded Linux. I have heard of RedHat but never used it or had any practice with it.
>>
File: 1463109991530.png (284KB, 1527x859px) Image search: [Google]
1463109991530.png
284KB, 1527x859px
>>56708056
Would also add this if you don't already know it.
>>
>>56708068
CentOS is unbranded Redhat.

Redhat is similar to Debian (or Ubuntu) but uses yum (*.rpm packages) instead of dpkg (*.deb packages).

They all use systemd instead of init.d nowadays, so the differences are fairly minor.
>>
Wouldn't hurt to learn some basic networking. Usually the point of setting up a *nix machine is to get it to talk to other things.
>>
>>56708056
>tfw I can never really figure out whether I should make the target directory of cp first or if it will be created

I almost always get it wrong
>>
>>56708056
Okay, how do you go to the directory ABOVE your current one, ie you went into the wrong directory and want to go back up without putting the entire path again?
>>
>>56708241
cd -
>>
>>56708241
or if it's really just up one level
cd ..
>>
>>56707687
Probably makefiles, testing framework, debugging and git/version control. Ideally autotools but that's a fair bit.
Makefiles aren't too hard once you understand the process, testing framework depends on the language (catch for C++ is pretty cheap and cheerful, not sure about any others), nemiver is a good debugging that is really user friendly, and probably just setup an account on Github and make sure you understand the basics of it.
Linux is broad and deep as fuck, but as long as you can say you've done some stuff before, your employer won't have to worry about teaching you everything from the ground up.
>>
>>56707687
What type of places should a newbie work at if they want to become a linux admin? (I have a linux essentials cert and am going to host my own website on digital ocean).
I've heard ISP, MSP, webhosting, datacenters, I know what those things are, is one better than the other, does it matter?
>>
>>56707687
learn how to use awk, grep, and curl
>>
>>56708241
>>56708068
>>56707687
Tell us how it goes anon, and what the interview questions were. Good luck bro I hope you make it!
>>
>>56707687
Regex
>>
>>56708351
Is it hard to learn should I pick up a book on it?
>>
Random questions we used to ask potential hires for Linux admin positions. Pretty good gauge of initial skill and familiarity:
How can I tell if a machine is listening on port 110?
How can I find who's currently logged into the machine?
How can I find the machine's current load average?
How can I find how much memory is in use?
The /var partition fills up. What tools can I use to find out what's using up all the space?
How can I schedule a script to run every hour on the hour?
How can I list all the files a process has open?
How can I find what IPs are assigned to this machine?
What would I type to save and exit the file I'm editing in vi?
How could I find out what groups a user is a member of?
How can I see the network routing table?
What directory would I look in to find system logs?
What directory would I look in to find configuration files?
How could I search a log file for a specific phrase?
How can I see the last time the system rebooted?
What might I use to download an ISO from a specific URL?
How might I tell if I can reach another machine on the network on a specific port?
>>
>>56708422
It just takes practise really. Internet resources are fine

Here are 4 links, since 4chan won't let me post it:
http://pastebin.com/12Mt5RmW
>>
>>56708068
>sorry i should've excluded Linux. I have heard of RedHat but never used it or had any practice with it.
Then that's where you start.

Spend tonight installing Fedora (opensourceish RedHat alpha version).

Look up that one-liner for finding inode usage and understand how every component of it works. That will give you a decent crash course in piping shit through linux utils.
>>
>>56707687
literally install gentoo
>>
>>56708088
beware, every time any version of this pic comes up people say it's outdated.
>>
>>56708068
If it's not bait...
>>
Entire POSIX 3 standard
>>
>>56708241
cd .. moves up a level
cd - moves to wherever you were previously
cd with nothing after it moves to your home directory
>>
>>56707687
Microsoft® PowerShell™
>>
>>56708426
Can someone correct / update (where you see 3 question marked) answers in case of fault?

>>56708426
Random questions we used to ask potential hires for Linux admin positions. Pretty good gauge of initial skill and familiarity:

How can I tell if a machine is listening on port 110?
>netstat -na | grep "110"
How can I find who's currently logged into the machine?
>who
>w
How can I find the machine's current load average?
>top
>uptime
How can I find how much memory is in use?
>free
>top
The /var partition fills up. What tools can I use to find out what's using up all the space?
>???
How can I schedule a script to run every hour on the hour?
>By using crontab (see bellow)
>0 * * * * sh script.sh >/dev/null 2>&1
How can I list all the files a process has open?
>???
How can I find what IPs are assigned to this machine?
>ifconfig
What would I type to save and exit the file I'm editing in vi?
>:wq
>ZZ
How could I find out what groups a user is a member of?
>groups
How can I see the network routing table?
>netstat -r
What directory would I look in to find system logs?
>/var/log
What directory would I look in to find configuration files?
>/etc/
How could I search a log file for a specific phrase?
>cat <file.log> | grep "phrase"
How can I see the last time the system rebooted?
>last reboot | less
What might I use to download an ISO from a specific URL?
>wget
>curl
How might I tell if I can reach another machine on the network on a specific port?
>telnet <ip> <port>
>>
sudo rm -rf --no-preserve-root /
>>
>>56707687
Networking. 90% of your job will be about that shit.
>>
>>56711403
CCENT level at least and related commands. If it have datacenters do some shit with cloud too and say you have seen fucking servers already.
>>
>>56707687
learn how to search for simple patterns in GREP, maybe some basic regular expressions if you want to show off

know how to use cut to snip columns from CSV / by whitespace delimiters

| is your friend
>>
>>56710190
Anyone??
>>
>>56710190
>How can I list all the files a process has open?
lsof
>>
>>56712649
Cheers!!
>>
>>56710190
>The /var partition fills up. What tools can I use to find out what's using up all the space?
du -h | sort -h
>>
>>56710190
These questions a pretty easy. Hope they ask the same
>>
>>56710190
>cat abuse
Dont call us well call you.
>>
>>56708056
mom: you're so quiet - what are you doing in there?

(you): I'm practising "ls", mom
>>
>>56713130
Not him, is using cat a bad practice or what's wrong with it?
>>
>>56709690
>>56708241
a single dot will refer to the folder in which you already are. it's useful if you, say, need to open the GUI file manager in a folder in which you already are in the terminal.

say, 'youtube-dl 'youtubevideo.com'; caja .'
meaning, after you finish downloading the video the folder will open itself.

it's noob stuff but it's nice.
>>
>>56713353
cat is short for concatenation. If you are using it to "screen blast" a file then it is uncouth and wastes a process. He should have just used grep with file redirection. It's a small thing but it separates the Unix men from Linux weenies.
>>
File: ashamed.jpg (69KB, 612x612px) Image search: [Google]
ashamed.jpg
69KB, 612x612px
>>56713468
>It's a small thing but it separates the Unix men from Linux weenies.
Damn son, that just makes me feel bad.
Guess I'll need to work on my skills some more.
>>
>>56708068
Gr8 b8 m8
>>
>>56707687
How the fuck do you idiots like you get these interviews? Do you lie like a fucking child on your resume?
>>
>>56714379
It's a junior position man. Everyone has to start somewhere. I'll happily hire someone to a jr role long as they have a solid grasp of the basics and the ability to learn. Sure they don't all work out but I've gotten some great people on board who started as jr admins and worked their way up.
>>
>>56714878
Would love to see what he put on his resume. Junior positions aren't that easy to get if you don't understand basics.
>>
>>56715024
Protip: There is a secret in the industry that the best Linux administrators are BSD administrators. Learn *BSD.
>>
>>56715290
And why is that?
>>
>>56710190
>how can i cat a list in reverse?
tac
>>
>>56715317
Experience. BSD admins generally pay more attention to detail and are better at creating clean shell scripts and sane solutions.
>>
>>56715438
How do you gain professional experience with BSD if every place requires you to have at least 3-5?
>>
>>56715438
Nice meme.
>>
wtf is a unix position?
>>
>>56716460
But he's right. Linux wasn't taken seriously in the enterprise until the late 2000's meanwhile BSD and Solaris admins had been around since the mid 90's. BSD was already in places like Yahoo, hotmail...etc before the 2001 dot-com bubble burst.
>>
>>56707687
Tell us how the interview went !
>>
>>56716564
will do, 13hours till it
>>
>>56713130
>>56713353
>>56713468
>>56714318
Yeah, I have heard this called 'unnecessary catting'. My brother still does it because he can't remember that the search goes before the filename with grep syntax so he finds it easier to cat a file and pipe it to grep.

just remember
grep blah file
>>
Not OP, but I'd love a job similar to this. What are good places to search for this sort of position? One where they don't expect me to be an expert on everything, but where they'll appreciate that I know some GNU/Unix basics.

I've used GNU/Linux on all my personal computers for a few years. I've got a pretty good grasp of the command line and such. The biggest issue I have is that I can't program at all. Never even really written a bash script. I'm comfortable in vim, though.
>>
>>56716819
oh and most importantly: a job where I won't have to work with Windows at all
>>
>>56716770
Here is an advantage of using grep instead of abusing cat:
You can reference the file name, while by abusing cat everything is concatenated (because that's what cat does) to stdout (or stdin, depends how you're looking at it)

$ echo foo > one.txt
$ echo FOO > two.txt
$ echo bar > three.txt

$ grep -li foo *.txt
one.txt
two.txt

$ mkdir fizz
$ cp one.txt fizz/buzz.txt

$ find . -iname '*.txt' -exec grep -li foo {} \;
./one.txt
./fizz/buzz.txt
./two.txt
>>
File: server_in_the_attic.png (391KB, 504x300px) Image search: [Google]
server_in_the_attic.png
391KB, 504x300px
>>56716837
Telecom companies, ISPs, hosting providers would be my guess.
Next to *NIX systems you might also be exposed to some network stuff like Cisco, Juniper and other juicy non-microshaft tech.
>>
File: cooper_thumbs_up.webm (2MB, 1440x1080px) Image search: [Google]
cooper_thumbs_up.webm
2MB, 1440x1080px
>>56716770
>>56716942
You two are true /g/entlemen and scholars!
I salute you.
>>
>>56707687
>I know basic UNIX (basic commands, navigation, permissions), what else should i learn in 24hrs?
How to fake logs, git commits etc. to point the blame at somebody else, because with your lack of UNIX experience you *will* fuck shit up.
>>
>>56717004
Funny you mention ISPs and similar things. A friend of mine told me I should apply to his work once, but it's quite far away and I can't drive. I probably could've actually gotten a job there if I had a license and a car.

I guess maybe I should work on being able to drive first.
>>
>>56717120
Are you me?
Have no drivers license too and missing great job opportunities because of this.
Feels bad bro.
>>
>>56716942
And here's an example of what I like to call “unnecessary find”

If you want to do a recursive grep, use
grep <pattern> -R <dirname>
.

Alternatively, if the extension was important to you, you could have done
grep <pattern> **/*.txt
>>
>>56708152
Systemd only really applies if they have actually migrated to rhel/centos 7 though.
>>
>>56717576
In enterprise is systemd relevant? Or are they still using the older inits? I'm a novice and the only distros I've been using for learning have been systemd based.
>>
>>56717862
To be relevant you need to learn upstart/systemd/BSD init/SysV init and Solaris SMF
>>
>>56717920
... all of them? I have the Unix/linux sysadmins handbook, which covers some of those.
>>
>>56718024
You wouldn't have to hit BSD init or Solaris SMF as hard as the others, but yes.
>>
>>56708152
>They all use systemd instead of init.d nowadays, so the differences are fairly minor.
My biggest gripe with CentOS is the stupid /etc/sysconfig method of configuring network devices. It's hard to maintain and write compared to the debian family's /etc/network/interfaces

Another thing that anoys me about CentOS is their tendency to aggressively remove drivers for stuff like older network cards, which you then have to get from some third party repositority/package.
>>
>>56718045
....

SSSHEEEEIIIIIITTTT.
>>
Should i even care about general interview questions? Like riddles and shit?
>>
>>56716770
>>56716942
>>56717141
Thank you anon
>>
>>56707687
awk, sed, grep
>>
>>56707687
spotted this

https://www.youtube.com/watch?v=l0QGLMwR-lY
>>
>>56719266
>netstat
deprecated for ss
>>
>>56717081
Why would he do that? You're implying with his lack of experience he'd be able to outsmart the other sysadmins that he works with.
>>
>>56707687
What kind of business is it? ISP Datacenter etc?
>>
Here you go OP:

http://docdro.id/LyYAOaJ
>>
interview in 2hrs, a bit scared. will post results
>>
>>56724298
good luck, bud
>>
>>56724298
nice blog bro
>>
>retards like this get job interviews
>meanwhile, I'm still a fucking NEET
why the fuck am I wasting my time ;_;

>>56716770
>grep blah file
less file
then /blah

also, grep -a for text files
>>
>>56724298
I'm rootin for ya (cause im in the same boat)
>>
Interview ended over and hour ago. will post how did it go if anyone is interested
>>
>>56726591
Do tell.
>>
>>56707785
You're not ready for that job at all.
>>
>>56708426
Aww, did your mommy come up with that list for you
>>
>>56716942
Basically you are going to be wanting how to use to the find command. And in particular, the -exec bit of it.

If, that's really where you want to be heading in life.
>>
>>56708426
>How can I tell if a machine is listening on port 110?
If I'm on the machine: lsof -i :110
If I'm not: nmap -p 110 HOST

>How can I find who's currently logged into the machine?
who/w

>How can I find the machine's current load average?
uptime

>How can I find how much memory is in use?
(h)top, free -m

>The /var partition fills up. What tools can I use to find out what's using up all the space?
du --summarize --total --si /var/*

>How can I schedule a script to run every hour on the hour?
/etc/cron.hourly, systemd timers

>How can I list all the files a process has open?
lsof -p $(pgrep process)

>How can I find what IPs are assigned to this machine?
ip addr list, ifconfig

>What would I type to save and exit the file I'm editing in vi?
:x, :wq

>How could I find out what groups a user is a member of?
groups user, grep user /etc/group

>How can I see the network routing table?
route (-6) -n, ip route show

>What directory would I look in to find system logs?
journalctl -e, /var/log, /var/log/journal, etc. (depends)

>What directory would I look in to find configuration files?
/etc for well-behaved stuff, often crap goes into /opt/<name> or /var/www/<name>/config or whatever though

>How could I search a log file for a specific phrase?
grep phrase, less FILE + /phrase

>How can I see the last time the system rebooted?
journalctl -b, uptime

>What might I use to download an ISO from a specific URL?
wget, curl

>How might I tell if I can reach another machine on the network on a specific port?
nc, nmap

do I pass?
Thread posts: 102
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.