Question: Write Linux command for each question. Please use one single commend to do following process. Q1: Display all lines of list1.txt and Ilst2.txt containing the

 Write Linux command for each question. Please use one single commend

Write Linux command for each question. Please use one single commend to do following process. Q1: Display all lines of list1.txt and Ilst2.txt containing the letter 'p' Q2: Sort file list1.txt, and output the result to sort.txt. Q3: Append "flle1.txt" and "flle2.txt", and redirect to flle3.txt". Q4: Sort "flle3.txt" and "flle4.txt", and remove all the duplicate line from the result. Q5: Use octal notation to change the permission of flle3.txt to user - write read execute, group - read execute, other - execute. Q6: Use symbolic notation to change the permission of flle3.txt" to "user - write read execute, group - write read execute, other - write read execute. Q7: Display sorted filename in the current path. Q8: Redirect sorted filename in the current path to "flle9.txt" Q9: Count number of words for all files from current directory and output result to wordcount.txt Q10: display those lines do not contain "apple" from every file of current directory. Note: Only need to submit the answer for each question in a text or word file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!