linux interview questions quiz

12
Linux User Group @ SJSU Interview Questions Quiz

Upload: utkarsh-sengar

Post on 14-Jun-2015

4.530 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Linux Interview Questions Quiz

Linux User Group @ SJSUInterview Questions Quiz

Page 2: Linux Interview Questions Quiz

1. Loads of Distros

What's the difference?• Debian• Slackware• RedHat• Gentoo

Page 3: Linux Interview Questions Quiz

Linux User Group at San Jose State University 3

2. Tell me the Difference:rm -rf someDir/rmdir someDir/

Page 4: Linux Interview Questions Quiz

Linux User Group at San Jose State University 4

3. Project Deadline

• My Boss asked me to do any changes to file before 4:00PM, I did the changes till 4:30PM. Now, How can I make sure that my boss thinks I changed it before 4PM?

• Hint: You got a command for that.

Page 5: Linux Interview Questions Quiz

4. Such a big file!!!

• I have a 50 line file.• Print lines 11 to 20.• Such a standard interview question.

Page 6: Linux Interview Questions Quiz

Linux User Group at San Jose State University 6

5. What do you think?

• I issue this command• cp {some,same}/thing/here

Page 7: Linux Interview Questions Quiz

Linux User Group at San Jose State University 7

contd..

cp /home/roopesh/{docs/,}movies/my_movie.avi

Page 8: Linux Interview Questions Quiz

6. Who's got the keys to the room?

• What's the difference between these permissions?

• -rwxr--r--• drwxr-xr-x• Who's got what access?

Page 9: Linux Interview Questions Quiz

Linux User Group at San Jose State University 9

7. Copying files

cp \home\roopesh\My file.txt \home\roopesh1\my file.txt• I need to copy my file.txt from roopesh dir to roopesh1 dir.• Does this command work? If not, why?

Page 10: Linux Interview Questions Quiz

8. What does this button do?

• what's the difference between ps and top?• ps -u roopesh• top

Page 11: Linux Interview Questions Quiz

9. Creating shortcuts

• I got a file and directory, So I want to create a shortcut to that. What do I do in command line?

Page 12: Linux Interview Questions Quiz

03/09/10 Linux User Group at San Jose State University

By

Roopesh Vaddepally