################################################################
This article extracts from the old boy Linux practical operation and maintenance Training Center Entrance Examination question (answer part)
If reproduced, please be sure to keep the link and copyright information herein.
Welcome to Yun-Brother together to Exchange Linux/unix website operation and Maintenance technology!
Website operation and Maintenance Exchange Group: 114580181 45039636 37081784
Old boy qq:31333741
Mail:[email protected]
===============================================================
Old boy Linux Training contact
Enquiry: qq:357851641 31333741 70271111 11914883
Tel: 18911718229 18901398229
Website address: http://www.etiantian.org http://oldboy.cc
Blog:http://oldboy.blog.51cto.com
################################################################
[Purpose of examination]
Old boy Linux Practical training Students Entrance examination Questions (technical part), explore the bottom of students in order to better understand the students, in accordance with their aptitude. The non-technical part of the students have already answered before listening to the test.
[Examination questions]
Description
Please give the relevant command answer to the question, write to the bottom of the question (if it is not possible Baidu search, write the answer, but must be marked to search, correct the problem score halved).
Environment: All issues are command results under the centos5.x Linux root user environment
1. Create a directory/data
2. Create a file under/data oldboy.txt
3. Edit Oldboy.txt Add content for I am studying Linux. Then save
4. Copy the Oldboy.txt file to/tmp
5. Move the/data directory to the/root
6. Go to the data directory in the root directory and delete the Oldboy.txt
7. Exit to the parent directory and delete the data directory.
8. The known file Test.txt content is:
Test
Liyao
Oldboy
Please give a command to filter out a string that does not contain Oldboy.
9. Use a command to complete the creation of the directory/oldboy/test, that is to create the/oldboy directory and/oldboy/test directory
10. It is known that the Test.txt file already exists in/tmp, how to execute the command to
/mnt/test.txt overwrite the/tmp/test.txt and leave the system without prompting for overrides (root privileges).
11. View only the contents of lines 20th through 30th in the Ett.txt file
time : 10 minutes to submit the answer out of 100 points, the network class also submitted the answer according to this request.
Special Note: The above questions for the training center students how to qualify exam questions 60 or more to be eligible for admission to participate in primary training.
Old boy Linux training student entrance Qualification Exam Questions (Technical section)