Download as pdf
Download as pdf
You are on page 1of 21
ea Question No. 19 As linux administartor you planned to check all directories which are created by you empty directories. What is the command used to remove the empty directories? Question No, 18 What is the UID of root user in RHEL 7 101 oO 100 none of the option Sections, (Se Question No. 16 ‘An associate joined your team newly and you are giving transistion to the new member You | copy the files from the directory to /new/team.What is the command to perform the action? o copy SOP.txt new/Team copy SOP.xt new/sample /new/Team o sample /new o ? Question No. 17 You are Linux administarator working on a customer environment where virtualization is in place anc planning to add Windows server VM in the environment and analysing the possibltes .As 2 fist step environment .You are the linux administarator and requested to check how much memory is being u @ all of these Free vmstat Sections Ea Question No. 10 What command is used to change ownership of file? © chmod > chgrp changeown chown, | Question No. 13 Which linux filesystem contains all configuration files O War > Ilibbllog @letc lusr/log Sections ‘ee Question No. 15 ‘ermission of a directory named student in path /oradb/DB: Asa system administrator, you need to set p* sion others have not permission.which permis ommand would you us © chmod 710 /oradb/DBS/student 3istudent chmod 760 /oradb/DB: hown 644 /oradb/DB3: ce b/DB3/student sections : Question No. 14 Command to only view contents of file named testfile Cat > testfile ® cat testfile is--| Aestfile Question No. 11 How will you change password for root account? @ password passwd password admin pwd Sections Question No. 12 echo “Hello ILP Associates’ > file1 echo “Welcome tolnitial Learning Program” >> file1 What will be the out No output ® Hello ILP Associates Welcome to Initial Learning Program Welcome to Initial Learning Program Hello ILP Associates Question No. 9 command to delete a user ilpusr O usrdel ilpusr © userdel ilpusr @ userdelete -r ilpust del user -1 ilpusr Ea Question No. 7 You need to print the line which contains the "student " on the file /ilp/data #cat /ilp/data | grep student #grep /ilp/data student > > /ilp/data | grep student #cat > grep student Sections ‘ Question No. 5 Command to stop a process with respect to process ID,example PID 2315 STOP 2315 ps -s 2315 kill -s 2315 @ kill -9 2315 Question No. 4 cd /tmpipractice/sample/exercise1. This path is a © Relative path. @ Absolute path Sections ‘e Question No. 6 The contiquration file associated with user related information 1s ® ete yum contig swd ate ps passwd Question No. 8 | Which is the boot loader in RHEL7 lilo grub all the options ® grub2 | Question No. 2 What type of file system does Linux support O xfs ) ext4 none of the above both ext4 and xfs sections, | question No. 20 J) yun and apm are used © configure ip filesystem management schedule a proce @ Software package management Sections ‘ Ea Question No.1 How do you list files ina path with permssion detail ‘Question No. 3 How fo sot permission fora fle “studentdala"in tmp such that user has read nile, execute permission whereas gtoup and ther uses have only execu perm chmod 744 tmpistudentdata © chmod 711 smpistudentdata chown 71 mp stasentdata hown 744 Ampistudentsaia LINO® py inset. @ as-) == ® Bow eaty & xfs ® chown FU Lemp student Data @ Abrowte path © xing asic ®1 ete/yum.contis Cx catlilp)otatal grey student Jub D> ® Userofelere -¥ i/puct chown ® @ Pacsvord @ Heo SP petociakt ... . ® car terre @ tere B chino d 3/0/04 b/pk2) c14q fe 7 Far] ele) ream @ au of trae ® 0 ® sof tnere Package Manage men Use virtua! memory, ; a ae

You might also like