Unix Interview Questions | Glassdoor

Unix Interview Questions

26

interview questions shared by candidates

Unix Interview Questions

Sort: Relevance Popular Date

Do you know Unix and if so, what level do you rate your skill?

1 Answer

How would you kill all processes for user "abc" with name xyz, using only a single command on the command line of UNIX/FreeBSD system. You are allowed to use pipes and sudo commands. Use of killall is not permitted.

1 Answer

Last year my team had to remove all the phone numbers from 50,000 Amazon web page templates, since many of the numbers were no longer in service, and we also wanted to route all customer contacts through a single page. Let's say you're on my team, and we have to identify the pages having probable U.S. phone numbers in them. To simplify the problem slightly, assume we have 50,000 HTML files in a Unix directory tree, under a directory called "/website". We have 2 days to get a list of file paths to the editorial staff. You need to give me a list of the .html files in this directory tree that appear to contain phone numbers in the following two formats: (xxx) xxx-xxxx and xxx-xxx-xxxx. How would you solve this problem? Keep in mind our team is on a short (2-day) timeline

1 Answer

is there another way to find disk usage besides du?

How do you find out how many cpu's your linux machine is using and are they physical or virtual?

Describe the shells in unix.

1 Answer

Command syntax of Unix commands, and exact system file locations

1120 of 26 Interview Questions